mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-05 17:20:43 -04:00
Added button text to locale file
This commit is contained in:
1 parent
13bbd5dfc1
commit
08fa4aefc4
2 files changed
+5
-2
No files matched your search
@@ -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