aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/index.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/index.rhtml')
-rw-r--r--app/views/admin/index.rhtml27
1 files changed, 18 insertions, 9 deletions
diff --git a/app/views/admin/index.rhtml b/app/views/admin/index.rhtml
index 88b5cb644..b41ca78c4 100644
--- a/app/views/admin/index.rhtml
+++ b/app/views/admin/index.rhtml
@@ -13,22 +13,28 @@
<h1>Things to do</h1>
-<% if @requires_admin_requests.size > 0 %>
- <h3>Work out what to do with these unusual responses (a new category?)</h3>
+<% if @one_week_old_unclassified.size > 0 %>
+ <h3>Classify responses that are still unclassified one week after response</h3>
<ul>
- <% for @request in @requires_admin_requests %>
- <li><%= link_to h(@request.title), "request/show/" + @request.id.to_s %></li>
+ <% for @request in @one_week_old_unclassified %>
+ <li>
+ <%= link_to h(@request.title), "request/show/" + @request.id.to_s %>
+ (<%=simple_date(@request.get_last_event.created_at)%>)
+ </li>
<% end %>
</ul>
<% end %>
-<% if @one_week_old_unclassified.size > 0 %>
- <h3>Classify responses that are still unclassified one week after response</h3>
+<% if @requires_admin_requests.size > 0 %>
+ <h3>Work out what to do with these unusual responses (a new category?)</h3>
<ul>
- <% for @request in @one_week_old_unclassified %>
- <li><%= link_to h(@request.title), "request/show/" + @request.id.to_s %></li>
+ <% for @request in @requires_admin_requests %>
+ <li>
+ <%= link_to h(@request.title), "request/show/" + @request.id.to_s %>
+ (<%=simple_date(@request.get_last_event.created_at)%>)
+ </li>
<% end %>
</ul>
<% end %>
@@ -37,7 +43,10 @@
<h3>Find missing FOI email for these public authorities (try phoning!)</h3>
<ul>
<% for @blank_contact in @blank_contacts %>
- <li><%= link_to h(@blank_contact.name), "body/show/" + @blank_contact.id.to_s %></li>
+ <li>
+ <%= link_to h(@blank_contact.name), "body/show/" + @blank_contact.id.to_s %>
+ (<%=simple_date(@blank_contact.updated_at)%>)
+ </li>
<% end %>
</ul>
<% end %>