summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-19 07:00:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-19 07:00:49 +0000
commit26f07180b37df0955740e0cb7982abd08576465b (patch)
tree9801424c5620e238cdc09384838e75129194607d
parent85a0e96ad6a5e9cff88301564314c2c96c4c36be (diff)
downloadredmine-26f07180b37df0955740e0cb7982abd08576465b.tar.gz
redmine-26f07180b37df0955740e0cb7982abd08576465b.zip
Disable settings when appropriate.
git-svn-id: http://svn.redmine.org/redmine/trunk@16830 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/settings/_display.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/_display.html.erb b/app/views/settings/_display.html.erb
index 93eaa6ef4..b3187c7eb 100644
--- a/app/views/settings/_display.html.erb
+++ b/app/views/settings/_display.html.erb
@@ -19,11 +19,11 @@
<p><%= setting_select :user_format, @options[:user_format] %></p>
-<p><%= setting_check_box :gravatar_enabled %></p>
+<p><%= setting_check_box :gravatar_enabled, :data => {:enables => '#settings_gravatar_default'} %></p>
<p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", 'retro'], ["Mystery man", 'mm']], :blank => :label_none %></p>
-<p><%= setting_check_box :thumbnails_enabled %></p>
+<p><%= setting_check_box :thumbnails_enabled, :data => {:enables => '#settings_thumbnails_size'} %></p>
<p><%= setting_text_field :thumbnails_size, :size => 6 %></p>