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

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