Skip to content
Snippets Groups Projects
Commit 283bf806 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Comment icons for Issues, MR lists

parent 666cdb22
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
→
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment