]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/index.html.erb
fix build on wily; fix some moderation branch language constants
[rails.git] / app / views / issues / index.html.erb
index 374502c38d71d39cff117d5903815b302f6155e9..340f5ab9b81973b7d3a432e8eeb944cbeb994b5a 100644 (file)
        <thead>
                <tr>
                        <tr>
-                               <td><b> <%= sortable("status") %></b></td>
-                               <td><b> <%= sortable("report_count", "Number of Reports") %></b></td>
-                               <td><b> <%= sortable("updated_at","Last updated at") %></b></td>
-                               <td><b> <%= sortable("updated_by","Last updated by") %></b></td>
-                               <td><b> Link to reports </b></td>
-                               <td><b> <%= sortable("reported_user_id","Reported User") %> </b></td>
-                               <td><b> Link to reported instance</b></td>
+                               <td style="width:40px;"><b> <%= sortable("status") %></b></td>
+                               <td style="width:160px;"><b> <%= sortable("report_count", "Number of Reports") %></b></td>
+                               <td style="width:141px;"><b> <%= sortable("updated_at","Last updated at") %></b></td>
+                               <td style="width:140px;"><b> <%= sortable("updated_by","Last updated by") %></b></td>
+                               <td style="width:203px;"><b> Link to reports </b></td>
+                               <td style="width:128px;"><b> <%= sortable("reported_user_id","Reported User") %> </b></td>
+                               <td style="width:67px;"><b> Link to reported instance</b></td>
                        </tr>
                </tr>
        </thead>
        <tbody>
                <% @issues.each do |issue| %>
                        <tr>
-                               <td><span class="count-number"> <strong><%= issue.status %></strong></span> </td>
-                               <td><%= issue.report_count %></td>
-                               <td><%= issue.updated_at.strftime('%H:%M %m/%d/%y') %></td>
+                               <td><%= issue.status.humanize %></td>
+                               <td style="text-align:center;"><%= issue.report_count %></td>
+                               <td><%= l(issue.updated_at.to_datetime, :format => :friendly) %></td>
                                <td><% if issue.user_updated %> <%= issue.user_updated.display_name %> <% else %> - <% end %></td>
                                <td> <%= reports_url(issue) %></td>
                                <td><%= link_to issue.user.display_name , :controller => :user, :action => :view,:display_name => issue.user.display_name %></td>