Commit 93b6d0a5efd0dcf54deea903787dd82ab7e06cd0
1 parent
fb3dd19e
Exists in
master
and in
1 other branch
Icons for issue trackers.
Showing
6 changed files
with
19 additions
and
3 deletions
Show diff stats
app/views/errs/show.html.haml
... | ... | @@ -12,10 +12,10 @@ |
12 | 12 | - content_for :action_bar do |
13 | 13 | - if @err.app.issue_tracker |
14 | 14 | - if @err.issue_link.blank? |
15 | - %span= link_to 'create issue', create_issue_app_err_path(@app, @err), :method => :post, :class => 'create-issue' | |
15 | + %span= link_to 'create issue', create_issue_app_err_path(@app, @err), :method => :post, :class => "#{@app.issue_tracker.issue_tracker_type}_create create-issue" | |
16 | 16 | - else |
17 | - %span= link_to 'go to issue', @err.issue_link, :class => 'goto-issue' | |
18 | - = link_to 'clear issue', clear_issue_app_err_path(@app, @err), :method => :delete, :confirm => "Clear err issues?", :class => 'clear-issue' | |
17 | + %span= link_to 'go to issue', @err.issue_link, :class => "#{@app.issue_tracker.issue_tracker_type}_create goto-issue" | |
18 | + = link_to 'clear issue', clear_issue_app_err_path(@app, @err), :method => :delete, :confirm => "Clear err issues?", :class => "clear-issue" | |
19 | 19 | - if @err.unresolved? |
20 | 20 | %span= link_to 'resolve', resolve_app_err_path(@app, @err), :method => :put, :confirm => err_confirm, :class => 'resolve' |
21 | 21 | ... | ... |
1.57 KB
1.61 KB
1.47 KB
1.52 KB
public/stylesheets/application.css
... | ... | @@ -579,6 +579,22 @@ table.errs tr.resolved td > * { |
579 | 579 | background: transparent url(images/icons/thumbs-up.png) 6px 5px no-repeat; |
580 | 580 | } |
581 | 581 | |
582 | +#action-bar a.lighthouseapp_create { | |
583 | + background: transparent url(/images/lighthouseapp_create.png) 6px 5px no-repeat; | |
584 | +} | |
585 | + | |
586 | +#action-bar a.redmine_create { | |
587 | + background: transparent url(/images/redmine_create.png) 6px 5px no-repeat; | |
588 | +} | |
589 | + | |
590 | +#action-bar a.lighthouseapp_goto { | |
591 | + background: transparent url(/images/lighthouseapp_goto.png) 6px 5px no-repeat; | |
592 | +} | |
593 | + | |
594 | +#action-bar a.redmine_goto { | |
595 | + background: transparent url(/images/redmine_goto.png) 6px 5px no-repeat; | |
596 | +} | |
597 | + | |
582 | 598 | /* Notices Pagination */ |
583 | 599 | .notice-pagination { |
584 | 600 | float: left; | ... | ... |