diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 09:10:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 09:10:39 +0000 |
commit | 1bab0ba591263cd739af2d2c7c3f1b03678a59b6 (patch) | |
tree | 39f499cf5c77338a6c1b94a2cad17153bcb7cada /app/views/projects/pages/_destroy.haml | |
parent | 2d03845a7606dc48107ac33e7a66a00956e76955 (diff) | |
download | gitlab-ce-1bab0ba591263cd739af2d2c7c3f1b03678a59b6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/pages/_destroy.haml')
-rw-r--r-- | app/views/projects/pages/_destroy.haml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/projects/pages/_destroy.haml b/app/views/projects/pages/_destroy.haml index 138e2864bad..58dbbb5bcfc 100644 --- a/app/views/projects/pages/_destroy.haml +++ b/app/views/projects/pages/_destroy.haml @@ -1,12 +1,14 @@ - if @project.pages_deployed? - if can?(current_user, :remove_pages, @project) .card.border-danger - .card-header.bg-danger.text-white Remove pages + .card-header.bg-danger.text-white + = s_('GitLabPages|Remove pages') .errors-holder .card-body %p - 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 - = link_to 'Remove pages', project_pages_path(@project), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove" + = link_to s_('GitLabPages|Remove pages'), project_pages_path(@project), data: { confirm: s_('GitLabPages|Are you sure?')}, method: :delete, class: "btn btn-remove" - else - .nothing-here-block Only project maintainers can remove pages + .nothing-here-block + = s_('GitLabPages|Only project maintainers can remove pages') |