Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#2895] Added additional report icons.

  • Loading branch information...
commit d3a9bfb11f4730b8375fb29f198ef6cabe9ca63f 1 parent cbb0243
@edavis10 authored
View
2  app/controllers/system_reports_controller.rb
@@ -49,4 +49,4 @@ def check_permissions
end
end
-SystemReportsController.add_report(:index, nil, :label => :reports_overview)
+SystemReportsController.add_report(:index, nil, :label => :reports_overview, :class => 'icon-overview')
View
BIN  assets/images/house.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  assets/images/user_comment.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  assets/stylesheets/redmine_reports.css
@@ -1,10 +1,12 @@
.contextual {text-align:right; width: 80%; white-space: normal;}
.icon {margin-left: 5px;}
+.icon-overview { background-image: url(../images/house.png); }
.icon-issue { background-image: url(../../../images/ticket.png); }
.icon-issue-complete { background-image: url(../../../images/ticket_checked.png); }
.icon-calendar { background-image: url(../../../images/calendar.png); }
.icon-gantt { background-image: url(../images/chart_organisation.png); }
.icon-redmine-graphs { background-image: url(../images/chart_line.png); }
+.icon-activity { background-image: url(../images/user_comment.png); }
#reports-list ul { list-style: none;}
#reports-list ul { padding: 2px 0; }
View
2  lib/reports/activity_report.rb
@@ -13,7 +13,7 @@ def activity_report
# Added the report and configure it's permissions
require 'dispatcher'
Dispatcher.to_prepare do
- SystemReportsController.add_report(:activity_report, Reports::ActivityReport, {:action => :activity_report, :label => :reports_activity_report})
+ SystemReportsController.add_report(:activity_report, Reports::ActivityReport, {:action => :activity_report, :label => :reports_activity_report, :class => 'icon-activity'})
# TODO: A better core API?
Redmine::AccessControl.map {|map|
Please sign in to comment.
Something went wrong with that request. Please try again.