diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-26 18:49:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-26 18:49:12 +0000 |
commit | 805864590a4988ae457b0e5d4196f11065abdb9b (patch) | |
tree | e71b4f12919b102e089fd0990ae37424b9a8860a /app/helpers/custom_fields_helper.rb | |
parent | 1c49bd4258422bed77cb86ef97a868e8cbb6f12b (diff) | |
download | redmine-805864590a4988ae457b0e5d4196f11065abdb9b.tar.gz redmine-805864590a4988ae457b0e5d4196f11065abdb9b.zip |
Do not use javascript to hide tabs content on page loading and make tabs work with javascript disabled.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1293 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/custom_fields_helper.rb')
-rw-r--r-- | app/helpers/custom_fields_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 8792c8c6e..61c8d6b36 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -17,6 +17,13 @@ module CustomFieldsHelper + def custom_fields_tabs + tabs = [{:name => 'IssueCustomField', :label => :label_issue_plural}, + {:name => 'ProjectCustomField', :label => :label_project_plural}, + {:name => 'UserCustomField', :label => :label_user_plural} + ] + end + # Return custom field html tag corresponding to its format def custom_field_tag(custom_value) custom_field = custom_value.custom_field |