diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-10 17:17:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-10 17:17:37 +0000 |
commit | 824a67ab5a34d10a577b5e4756eb5c4e06c5f1ec (patch) | |
tree | b8ca3d8ab9074df582c95a435b94a4fafbcf353a /app | |
parent | 2c4647f8c6d23c999ae959a047104eef49d00993 (diff) | |
download | redmine-824a67ab5a34d10a577b5e4756eb5c4e06c5f1ec.tar.gz redmine-824a67ab5a34d10a577b5e4756eb5c4e06c5f1ec.zip |
Added basic Theme support.
Theme is set at application level (in Admin -> Settings).
For now, themes can override stylesheets only (application.css).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@818 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/settings/edit.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/edit.rhtml b/app/views/settings/edit.rhtml index 2accdc715..736e6c421 100644 --- a/app/views/settings/edit.rhtml +++ b/app/views/settings/edit.rhtml @@ -13,6 +13,9 @@ <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> <%= wikitoolbar_for 'settings[welcome_text]' %> +<p><label><%= l(:label_theme) %></label> +<%= select_tag 'settings[ui_theme]', options_for_select( ([[l(:label_default), '']] + Redmine::Themes.themes.collect {|t| [t.name, t.id]}), Setting.ui_theme) %></p> + <p><label><%= l(:setting_default_language) %></label> <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> |