]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/index.html.erb
Added helper + minor UI changes
[rails.git] / app / views / issues / index.html.erb
index 12cd79b376459fb86af7b7f1efaa8df1ab3653b3..340f5ab9b81973b7d3a432e8eeb944cbeb994b5a 100644 (file)
        <thead>
                <tr>
                        <tr>
        <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>
                        </tr>
                </tr>
        </thead>
@@ -33,7 +33,7 @@
                <% @issues.each do |issue| %>
                        <tr>
                                <td><%= issue.status.humanize %></td>
                <% @issues.each do |issue| %>
                        <tr>
                                <td><%= issue.status.humanize %></td>
-                               <td><%= issue.report_count %></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><%= 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>