Commit 2cb5f860 authored by Mark Florian's avatar Mark Florian

Merge branch...

Merge branch '344345-make-badges-in-app-views-projects-pages-_list-html-haml-pajamas-compliant' into 'master'

Make badges in app/views/projects/pages/_list.html.haml Pajamas-compliant

See merge request gitlab-org/gitlab!77613
parents f39fdb5b 62e5e7b6
...@@ -15,11 +15,9 @@ ...@@ -15,11 +15,9 @@
= external_link(domain.url, domain.url) = external_link(domain.url, domain.url)
- if domain.certificate - if domain.certificate
%div %div
%span.badge.badge-gray = gl_badge_tag(s_('GitLabPages|Certificate: %{subject}') % { subject: domain.pages_domain.subject })
= s_('GitLabPages|Certificate: %{subject}') % { subject: domain.pages_domain.subject }
- if domain.expired? - if domain.expired?
%span.badge.badge-danger = gl_badge_tag s_('GitLabPages|Expired'), variant: :danger
= s_('GitLabPages|Expired')
%div %div
= link_to s_('GitLabPages|Edit'), project_pages_domain_path(@project, domain), class: "btn gl-button btn-sm btn-grouped btn-confirm btn-inverted" = link_to s_('GitLabPages|Edit'), project_pages_domain_path(@project, domain), class: "btn gl-button btn-sm btn-grouped btn-confirm btn-inverted"
= link_to s_('GitLabPages|Remove'), project_pages_domain_path(@project, domain), data: { confirm: s_('GitLabPages|Are you sure?')}, method: :delete, class: "btn gl-button btn-danger btn-sm btn-grouped" = link_to s_('GitLabPages|Remove'), project_pages_domain_path(@project, domain), data: { confirm: s_('GitLabPages|Are you sure?')}, method: :delete, class: "btn gl-button btn-danger btn-sm btn-grouped"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment