aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin_general/index.rhtml3
-rw-r--r--app/views/admin_request/list_old_unclassified.rhtml15
2 files changed, 17 insertions, 1 deletions
diff --git a/app/views/admin_general/index.rhtml b/app/views/admin_general/index.rhtml
index d15f619f1..87de83752 100644
--- a/app/views/admin_general/index.rhtml
+++ b/app/views/admin_general/index.rhtml
@@ -33,7 +33,7 @@
<% end %>
<% if @ten_days_old_unclassified.size > 0 %>
- <h3>Classify responses that are still unclassified ten days after response (<%=@ten_days_old_unclassified.size%> total)</h3>
+ <h3>Classify responses that are still unclassified ten days after response</h3>
<ul>
<% for @request in @ten_days_old_unclassified %>
@@ -43,6 +43,7 @@
</li>
<% end %>
</ul>
+ <p>(<%= link_to "Full list", admin_url("unclassified") %>)
<% end %>
<% if @error_message_requests.size > 0 %>
diff --git a/app/views/admin_request/list_old_unclassified.rhtml b/app/views/admin_request/list_old_unclassified.rhtml
new file mode 100644
index 000000000..3db40528e
--- /dev/null
+++ b/app/views/admin_request/list_old_unclassified.rhtml
@@ -0,0 +1,15 @@
+<% @title = "Unclassfied responses" %>
+
+<h1><%=@title%></h1>
+
+<p>Classify responses that are still unclassified ten days after response:</p>
+<ul>
+<% for @request in @info_requests %>
+ <li>
+ <%= request_both_links(@request) %>
+ &ndash; <%=simple_date(@request.get_last_event.created_at)%>
+ </li>
+<% end %>
+</ul>
+
+