Skip to content

Migrate to pajamas button in projects_templates/_template.html.html

What does this MR do and why?

As a part of pajamas migration day. Closes Migrate to Pajamas compliant buttons in app/vie... (#417841 - closed).

This MR only changes the "Preview" button and not "Use template" since that uses label and as mentioned in migration guide

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-07-14_at_1.00.50_PM Screenshot_2023-07-14_at_1.00.50_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Click on New Project/Repository from the top left "+" icon in left navbar Screenshot_2023-07-14_at_1.15.17_PM

  2. Click on "Create from template" in the landing page

  3. See the list of buttons in the project templates list

  4. See that the "Preview" button works the same way that it should

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #417841 (closed)

Merge request reports