Only render hr when user can't archive project.
This commit is contained in:
parent
e3a5f1df29
commit
48a053f334
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Only render hr when user can't archive project.
|
||||
merge_request: !8917
|
||||
author:
|
Loading…
Reference in a new issue