From 5db8b24b6d7b676b1b66f34ae5ac858bb7e6822b Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Thu, 31 Jan 2013 14:59:22 +0100 Subject: [PATCH] SONAR-4100 Improve rendering --- .../app/views/account/_global_notifications.html.erb | 7 +++---- .../app/views/account/_per_project_notifications.html.erb | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_global_notifications.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_global_notifications.html.erb index a64938efdf6..c8e77ea0c77 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_global_notifications.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_global_notifications.html.erb @@ -6,7 +6,7 @@ <% for channel in @channels %> - <%= message('notification.channel.' + channel.getKey()) -%> + <%= message('notification.channel.' + channel.getKey()) -%> <% end %> <% for dispatcher in @global_dispatchers %> @@ -18,15 +18,14 @@ check_box_id = 'notifications[' + notification_id + ']' check_box_checked = @global_notifications[notification_id] %> - + <%= check_box_tag check_box_id, 'true', check_box_checked %> <% end %> <% end %> - - <%= submit_tag message('my_profile.notifications.submit') %> + <%= submit_tag message('my_profile.notifications.submit') %> <% end %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb index 37c881d9f9e..cc4a61bff16 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb @@ -77,7 +77,7 @@ <% end %> - <%= submit_tag message('my_profile.notifications.submit') %> + <%= submit_tag message('my_profile.notifications.submit') %> <% end %> -- 2.39.5