summaryrefslogtreecommitdiff
path: root/app/views/issues/_show.html.haml
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-26 21:20:05 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-26 21:20:05 +0300
commit283bf806766c02c8c66230f4c765070b0ed812fb (patch)
treeb5ea6418ff9b337287614f6989bf0a95d9969500 /app/views/issues/_show.html.haml
parent666cdb22792dd955a286b9993d6235b4cdd68b4b (diff)
downloadgitlab-ce-283bf806766c02c8c66230f4c765070b0ed812fb.tar.gz
Comment icons for Issues, MR lists
Diffstat (limited to 'app/views/issues/_show.html.haml')
-rw-r--r--app/views/issues/_show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml
index 492cedf629b..de27555952f 100644
--- a/app/views/issues/_show.html.haml
+++ b/app/views/issues/_show.html.haml
@@ -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