diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-02-01 15:55:55 -0500 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-02-01 16:00:44 -0500 |
commit | 53b610fd35c4a36501353fe7f27d05a8048a6cf1 (patch) | |
tree | 0bfd731f7eb35d6b71f6c6f8ae261e8e75cfc80f | |
parent | 797ca1b15d4a1c20b1cbab3060061d5b684048e3 (diff) | |
download | gitlab-ce-27321-double-separator-line-in-edit-projects-settings.tar.gz |
Only render hr when user can't archive project.27321-double-separator-line-in-edit-projects-settings
-rw-r--r-- | app/views/projects/edit.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/27321-double-separator-line-in-edit-projects-settings.yml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index ec944d4ffb7..4a0ce995165 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -185,8 +185,8 @@ %li Container registry images %li CI variables %li Any encrypted tokens - %hr - if can? current_user, :archive_project, @project + %hr .row.prepend-top-default .col-lg-3 %h4.warning-title.prepend-top-0 diff --git a/changelogs/unreleased/27321-double-separator-line-in-edit-projects-settings.yml b/changelogs/unreleased/27321-double-separator-line-in-edit-projects-settings.yml new file mode 100644 index 00000000000..502927cd160 --- /dev/null +++ b/changelogs/unreleased/27321-double-separator-line-in-edit-projects-settings.yml @@ -0,0 +1,4 @@ +--- +title: Only render hr when user can't archive project. +merge_request: !8917 +author: |