Add a warning icon to confidential issues on list page and issue details

parent 3075eede
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
%li %li
CLOSED CLOSED
- if issue.confidential?
%li
= icon('lock')
- if issue.assignee - if issue.assignee
%li %li
= link_to_member(@project, issue.assignee, name: false, title: "Assigned to :name") = link_to_member(@project, issue.assignee, name: false, title: "Assigned to :name")
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
= icon('angle-double-left') = icon('angle-double-left')
.issue-meta .issue-meta
- if @issue.confidential
= icon('lock')
%strong.identifier %strong.identifier
Issue ##{@issue.iid} Issue ##{@issue.iid}
%span.creator %span.creator
......
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