mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-12-29 06:01:00 -05:00
Added button text to locale file
This commit is contained in:
@@ -60,9 +60,10 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
||||
})
|
||||
end
|
||||
|
||||
# Display Buttons under the issue above subtasks
|
||||
def view_issues_show_description_bottom(context={})
|
||||
bill_button = button_to "Bill Time", bill_path( context[:issue].id ), method: :get if User.current.admin?
|
||||
share_button = button_to "Share", share_path( context[:issue].id ), method: :get if User.current.logged?
|
||||
bill_button = button_to I18n.t(:label_bill_time), bill_path( context[:issue].id ), method: :get if User.current.admin?
|
||||
share_button = button_to I18n.t(:label_share), share_path( context[:issue].id ), method: :get if User.current.logged?
|
||||
return "<br/> #{bill_button} #{share_button}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user