redmine_dmsf/app/views/dmsf_state/user_pref.html.erb
vit.jonas@gmail.com a41d9e7cc4 * more localization
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@40 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-05-13 11:08:57 +00:00

25 lines
764 B
Plaintext

<% html_title(l(:dmsf)) %>
<div class="contextual">
</div>
<h2><%= l(:link_user_preferences) %></h2>
<div class="box">
<% form_tag({:controller => "dmsf_state", :action => "user_pref_save", :id => @project},
:method=>:post) do %>
<div>
<%= l(:label_notifications) %>:
<%= select_tag("email_notify",
options_for_select([[l(:select_option_default), nil],
[l(:select_option_activated), true], [l(:select_option_deactivated), false]],
:selected => DmsfUserPref.for(@project, User.current).email_notify)) %>
<%= submit_tag(l(:submit_save), :title => l(:title_save_preferences)) %>
</div>
<% end %>
</div>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "dmsf", :plugin => "redmine_dmsf" %>
<% end %>