[#4604] Add an admin panel for the rate caches

This commit is contained in:
Eric Davis
2010-10-13 11:32:32 -07:00
parent fb3b0a41ae
commit 073dfe1177
8 changed files with 89 additions and 0 deletions
@@ -0,0 +1,9 @@
module RedmineRate
module Hooks
class ViewLayoutsBaseHtmlHeadHook < Redmine::Hook::ViewListener
def view_layouts_base_html_head(context={})
return content_tag(:style, "#admin-menu a.rate-caches { background-image: url('#{image_path('database_refresh.png', :plugin => 'redmine_rate')}'); }", :type => 'text/css')
end
end
end
end