]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_page.html.erb
Create last managing user column in issues table
[rails.git] / app / views / issues / _page.html.erb
index 9681704a1ddbdbbac23d8604b853cda6d1392928..a1279cb9703178f13cc4706898d7a967b77fc595 100644 (file)
@@ -15,6 +15,7 @@
           <th><%= t ".reported_user" %></th>
           <th class="reporting_users"><%= t ".reporting_users" %></th>
           <th><%= t ".last_updated" %></th>
           <th><%= t ".reported_user" %></th>
           <th class="reporting_users"><%= t ".reporting_users" %></th>
           <th><%= t ".last_updated" %></th>
+          <th><%= t ".last_managed" %></th>
         </tr>
       </thead>
       <tbody>
         </tr>
       </thead>
       <tbody>
               <% end %>
             </td>
             <td>
               <% end %>
             </td>
             <td>
-              <% if issue.user_updated %>
-                <%= t ".last_updated_time_ago_user_html", :user => link_to(issue.user_updated.display_name, issue.user_updated),
-                                                          :time_ago => friendly_date_ago(issue.updated_at) %>
-              <% else %>
-                <%= friendly_date_ago(issue.updated_at) %>
-              <% end %>
+              <%= friendly_date_ago(issue.updated_at) %>
+            </td>
+            <td>
+              <%= link_to(issue.user_updated.display_name, issue.user_updated) if issue.user_updated %>
             </td>
           </tr>
         <% end %>
             </td>
           </tr>
         <% end %>