mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update issues_show_hook_listener.rb
This commit is contained in:
1 parent
fee0548899
commit
41fe8f6a5d
1 file changed
+1
-1
@@ -89,7 +89,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
||||
end
|
||||
|
||||
def view_issues_show_description_bottom(context={})
|
||||
return "<br/> #{button_to "Bill Time", "#{Redmine::Utils::relative_url_root}/qbo/bill/#{context[:issue].id}", method: :get}"
|
||||
return "<br/> #{button_to "Bill Time", "#{Redmine::Utils::relative_url_root}/qbo/bill/#{context[:issue].id}", method: :get}" if User.current.admin?
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user