Use eye-slash icon on confidential issues instead of lock icon

parent 5c4026cc
......@@ -5,16 +5,15 @@
.issue-title
%span.issue-title-text
- if issue.confidential?
= icon('eye-slash')
= link_to_gfm issue.title, issue_path(issue), class: "title"
%ul.controls.light
- if issue.closed?
%li
CLOSED
- if issue.confidential?
%li
= icon('lock')
- if issue.assignee
%li
= link_to_member(@project, issue.assignee, name: false, title: "Assigned to :name")
......
......@@ -23,7 +23,7 @@
.issue-meta
- if @issue.confidential
= icon('lock')
= icon('eye-slash')
%strong.identifier
Issue ##{@issue.iid}
%span.creator
......@@ -52,7 +52,6 @@
= icon('pencil-square-o')
Edit
.issue-details.issuable-details
.detail-page-description.content-block
%h2.title
......
.search-result-row
%h4
- if issue.confidential?
= icon('lock')
= icon('eye-slash')
= link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
%span.term.str-truncated= issue.title
.pull-right ##{issue.iid}
......
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