Commit 48a053f3 authored by Bryce Johnson's avatar Bryce Johnson Committed by Annabel Dunstone Gray

Only render hr when user can't archive project.

parent e3a5f1df
...@@ -185,8 +185,8 @@ ...@@ -185,8 +185,8 @@
%li Container registry images %li Container registry images
%li CI variables %li CI variables
%li Any encrypted tokens %li Any encrypted tokens
%hr
- if can? current_user, :archive_project, @project - if can? current_user, :archive_project, @project
%hr
.row.prepend-top-default .row.prepend-top-default
.col-lg-3 .col-lg-3
%h4.warning-title.prepend-top-0 %h4.warning-title.prepend-top-0
......
---
title: Only render hr when user can't archive project.
merge_request: !8917
author:
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