Skip to content

Commit

Permalink
Icons for issue trackers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Recobra committed Apr 1, 2011
1 parent fb3dd19 commit 93b6d0a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/errs/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
- content_for :action_bar do
- if @err.app.issue_tracker
- if @err.issue_link.blank?
%span= link_to 'create issue', create_issue_app_err_path(@app, @err), :method => :post, :class => 'create-issue'
%span= link_to 'create issue', create_issue_app_err_path(@app, @err), :method => :post, :class => "#{@app.issue_tracker.issue_tracker_type}_create create-issue"
- else
%span= link_to 'go to issue', @err.issue_link, :class => 'goto-issue'
= link_to 'clear issue', clear_issue_app_err_path(@app, @err), :method => :delete, :confirm => "Clear err issues?", :class => 'clear-issue'
%span= link_to 'go to issue', @err.issue_link, :class => "#{@app.issue_tracker.issue_tracker_type}_create goto-issue"
= link_to 'clear issue', clear_issue_app_err_path(@app, @err), :method => :delete, :confirm => "Clear err issues?", :class => "clear-issue"
- if @err.unresolved?
%span= link_to 'resolve', resolve_app_err_path(@app, @err), :method => :put, :confirm => err_confirm, :class => 'resolve'

Expand Down
Binary file added public/images/lighthouseapp_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/lighthousehouseapp_goto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/redmine_create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/redmine_goto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions public/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,22 @@ table.errs tr.resolved td > * {
background: transparent url(images/icons/thumbs-up.png) 6px 5px no-repeat;
}

#action-bar a.lighthouseapp_create {
background: transparent url(/images/lighthouseapp_create.png) 6px 5px no-repeat;
}

#action-bar a.redmine_create {
background: transparent url(/images/redmine_create.png) 6px 5px no-repeat;
}

#action-bar a.lighthouseapp_goto {
background: transparent url(/images/lighthouseapp_goto.png) 6px 5px no-repeat;
}

#action-bar a.redmine_goto {
background: transparent url(/images/redmine_goto.png) 6px 5px no-repeat;
}

/* Notices Pagination */
.notice-pagination {
float: left;
Expand Down

0 comments on commit 93b6d0a

Please sign in to comment.