]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4100 Improve rendering
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 31 Jan 2013 13:59:22 +0000 (14:59 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 31 Jan 2013 14:04:08 +0000 (15:04 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/account/_global_notifications.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb

index a64938efdf6e17951b6eb943729848c4a32e11a9..c8e77ea0c77cddec6dbcfd70f822ae7352b4c815 100644 (file)
@@ -6,7 +6,7 @@
       <tr>
         <td></td>
         <% for channel in @channels %>
-          <td><b><%= message('notification.channel.' + channel.getKey()) -%></b></td>
+          <td class="center"><b><%= message('notification.channel.' + channel.getKey()) -%></b></td>
         <% end %>
       </tr>
       <% for dispatcher in @global_dispatchers %>
                  check_box_id = 'notifications[' + notification_id + ']'
                  check_box_checked = @global_notifications[notification_id]
           %>
-          <td>
+          <td class="center">
               <%= check_box_tag check_box_id, 'true', check_box_checked %>
           </td>
           <% end %>
         </tr>
       <% end %>
       <tr>
-        <td></td>
-        <td><%= submit_tag message('my_profile.notifications.submit') %></td>
+        <td style="padding-top: 10px" colspan="<%= @global_dispatchers.size + 1 -%>"><%= submit_tag message('my_profile.notifications.submit') %></td>
       </tr>
     </table>
   <% end %>
index 37c881d9f9efb005c0926bd682230a3ef3fbc91a..cc4a61bff167a5c9f09f2fac90b4167116a9c5d1 100644 (file)
@@ -77,7 +77,7 @@
            <% end %>
       
       <tr>
-        <td colspan="<%= @per_project_dispatchers.size + 1 -%>"><%= submit_tag message('my_profile.notifications.submit') %></td>
+        <td style="padding-top: 10px" colspan="<%= @per_project_dispatchers.size + 1 -%>"><%= submit_tag message('my_profile.notifications.submit') %></td>
       </tr>
       <% end %>