]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2615 Administrator should be able to change email address of user
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 19 Jul 2011 10:27:25 +0000 (14:27 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 19 Jul 2011 10:35:08 +0000 (14:35 +0400)
sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb

index 866363428b66378cc9ae80e813c2a51a5b7ce58b..f7ea97503551a3b6545d62c977c414b502cedb04 100644 (file)
@@ -7,6 +7,7 @@
           <tr>
             <th class="left">Login</th>
             <th class="left">Name</th>
+            <th class="left">Email</th>
             <th class="left nosort">Groups</th>
             <th class="left nosort" nowrap>Operations</th>
           </tr>
@@ -17,6 +18,7 @@
             <tr id="user-<%= u user.login -%>">
               <td class="left" valign="top"><%=user.login %></td>
               <td class="left" valign="top"><%=user.name %></td>
+              <td class="left" valign="top"><%=user.email %></td>
               <td class="left" valign="top">
                 <%= user.groups.sort.map(&:name).join(', ') %> (<%= link_to "select", {:action => 'select_group', :id => user.id}, :id => "select-#{u user.login}" %>)
               </td>
@@ -60,6 +62,9 @@
         <tr>
           <td class="left" valign="top">Name:<br/><%= f.text_field :name, :size => 30, :maxLength => 200 %></td>
         </tr>
+        <tr>
+          <td class="left" valign="top">Email:<br/><%= f.text_field :email, :size => 30, :maxLength => 100 %></td>
+        </tr>
         <tr>
           <td class="left" valign="top">Password:<br/><%= f.password_field :password, :size => 30, :maxLength => 50 %></td>
         </tr>