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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
283bf806
Commit
283bf806
authored
Jun 26, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment icons for Issues, MR lists
parent
666cdb22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+3
-1
app/views/merge_requests/_merge_request.html.haml
app/views/merge_requests/_merge_request.html.haml
+3
-1
No files found.
app/views/issues/_show.html.haml
View file @
283bf806
...
...
@@ -3,7 +3,9 @@
.icon
.right
-
if
issue
.
notes
.
any?
%span
.btn.small.disabled.padded
=
pluralize
issue
.
notes
.
count
,
'note'
%span
.btn.small.disabled.padded
%i
.icon-comment
=
issue
.
notes
.
count
-
if
can?
current_user
,
:modify_issue
,
issue
-
if
issue
.
closed
=
link_to
'Reopen'
,
project_issue_path
(
issue
.
project
,
issue
,
:issue
=>
{
:closed
=>
false
},
:status_only
=>
true
),
:method
=>
:put
,
:class
=>
"btn small padded"
,
:remote
=>
true
...
...
app/views/merge_requests/_merge_request.html.haml
View file @
283bf806
...
...
@@ -7,7 +7,9 @@
%i
.icon-ok
=
"MERGED"
-
if
merge_request
.
notes
.
any?
%span
.btn.small.disabled.padded
=
pluralize
merge_request
.
notes
.
count
,
'note'
%span
.btn.small.disabled.padded
%i
.icon-comment
=
merge_request
.
notes
.
count
%span
.btn.small.disabled.padded
=
merge_request
.
source_branch
→
...
...
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