summaryrefslogtreecommitdiff
path: root/app/views/issues/_show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-07-05 09:35:23 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-07-05 09:35:23 +0300
commitdf6a75d52d9a7db6d3bbdb9c3c306a65b4f8a1f2 (patch)
tree78bdf89dbd769b61610e503a95f4183c68e7f909 /app/views/issues/_show.html.haml
parent4e0c2f00d3edcabd24488161933b00d497656bfd (diff)
downloadgitlab-ce-df6a75d52d9a7db6d3bbdb9c3c306a65b4f8a1f2.tar.gz
buttons margin fixed
Diffstat (limited to 'app/views/issues/_show.html.haml')
-rw-r--r--app/views/issues/_show.html.haml9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml
index 7488032f92a..03524901c99 100644
--- a/app/views/issues/_show.html.haml
+++ b/app/views/issues/_show.html.haml
@@ -3,19 +3,18 @@
.icon
.right
- issue.labels.each do |label|
- %span.label.label-issue
+ %span.label.label-issue.grouped
%i.icon-tag
= label.name
- &nbsp;
- if issue.notes.any?
- %span.btn.small.disabled.padded
+ %span.btn.small.disabled.grouped
%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
+ = link_to 'Reopen', project_issue_path(issue.project, issue, :issue => {:closed => false }, :status_only => true), :method => :put, :class => "btn small grouped", :remote => true
- else
- = link_to 'Resolve', project_issue_path(issue.project, issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "success btn small padded", :remote => true
+ = link_to 'Resolve', project_issue_path(issue.project, issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "success btn small grouped", :remote => true
= link_to edit_project_issue_path(issue.project, issue), :class => "btn small edit-issue-link", :remote => true do
%i.icon-edit
Edit