Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6ce5f97e
Commit
6ce5f97e
authored
Mar 02, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use eye-slash icon on confidential issues instead of lock icon
parent
5c4026cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+3
-4
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-2
app/views/search/results/_issue.html.haml
app/views/search/results/_issue.html.haml
+1
-1
No files found.
app/views/projects/issues/_issue.html.haml
View file @
6ce5f97e
...
...
@@ -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"
)
...
...
app/views/projects/issues/show.html.haml
View file @
6ce5f97e
...
...
@@ -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
...
...
app/views/search/results/_issue.html.haml
View file @
6ce5f97e
.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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment