Only render hr when user can't archive project.

This commit is contained in:
Bryce Johnson 2017-02-01 15:55:55 -05:00 committed by Annabel Dunstone Gray
parent e3a5f1df29
commit 48a053f334
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,4 @@
---
title: Only render hr when user can't archive project.
merge_request: !8917
author: