summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-28 08:24:31 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-28 08:24:31 +0000
commitcfaa0fc23e00f97a019e9c9ffcfe936693229b97 (patch)
treeb6ac2a0754bc7e7e5d3c3ed02b442305b056a95d /app/views/users
parentcfddd2ff487944ac5e3ac7c77a9bb0d7c3c01f1a (diff)
downloadredmine-cfaa0fc23e00f97a019e9c9ffcfe936693229b97.tar.gz
redmine-cfaa0fc23e00f97a019e9c9ffcfe936693229b97.zip
fix project list is not shown on Email notifications (#11032)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9734 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/_mail_notifications.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_mail_notifications.html.erb b/app/views/users/_mail_notifications.html.erb
index 58cb5a93f..e25d426ee 100644
--- a/app/views/users/_mail_notifications.html.erb
+++ b/app/views/users/_mail_notifications.html.erb
@@ -3,7 +3,7 @@
<%= select_tag 'user[mail_notification]', options_for_select(user_mail_notification_options(@user), @user.mail_notification),
:onchange => 'if (this.value == "selected") {Element.show("notified-projects")} else {Element.hide("notified-projects")}' %>
</p>
-<% content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %>
+<%= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %>
<p><% @user.projects.each do |project| %>
<label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br />
<% end %></p>