summaryrefslogtreecommitdiffstats
path: root/app/helpers/settings_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/settings_helper.rb')
-rw-r--r--app/helpers/settings_helper.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 3e672b951..3183a2b13 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -104,6 +104,16 @@ module SettingsHelper
content_tag(:label, tag + text, options)
end
+ def link_copied_issue_options
+ options = [
+ [:general_text_Yes, 'yes'],
+ [:general_text_No, 'no'],
+ [:label_ask, 'ask']
+ ]
+
+ options.map {|label, value| [l(label), value.to_s]}
+ end
+
def cross_project_subtasks_options
options = [
[:label_disabled, ''],