Commit fd12d684 authored by Nathan Friend's avatar Nathan Friend

Merge branch 'yo-master-patch-71635' into 'master'

Update pages delete section card footer

See merge request gitlab-org/gitlab!50945
parents cb1ea667 d6be87bd
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
= s_('GitLabPages|Remove pages') = s_('GitLabPages|Remove pages')
.errors-holder .errors-holder
.card-body .card-body
%p %p.gl-mb-0
= s_('GitLabPages|Removing pages will prevent them from being exposed to the outside world.') = s_('GitLabPages|Removing pages will prevent them from being exposed to the outside world.')
.form-actions .card-footer
= link_to s_('GitLabPages|Remove pages'), project_pages_path(@project), data: { confirm: s_('GitLabPages|Are you sure?')}, method: :delete, class: "btn gl-button btn-danger" = link_to s_('GitLabPages|Remove pages'), project_pages_path(@project), data: { confirm: s_('GitLabPages|Are you sure?')}, method: :delete, class: "btn gl-button btn-danger"
- else - else
.nothing-here-block .nothing-here-block
= s_('GitLabPages|Only project maintainers can remove pages') = s_('GitLabPages|Only project maintainers can remove pages')
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