aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-11-06 14:45:21 +0000
committerfrancis <francis>2008-11-06 14:45:21 +0000
commit9c8f65e7c2cfe4626758856a8817d231eb7639da (patch)
treea8af304e15bd9d91428b429393edbee34c589cd1
parent86eb50e0acf8108cf0f3c6f9f2518e161af25536 (diff)
Maybe clearer help. Hmmm.
-rw-r--r--app/views/general/search.rhtml17
1 files changed, 14 insertions, 3 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 5d2e82826..57c2073b2 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -109,8 +109,8 @@
<li>Enter words that you want to find separated by spaces, e.g. <strong><%=search_link('climbing lane')%></strong></li>
<li>Use OR (in capital letters) where you don't mind which word, e.g. <strong><%=search_link('commons OR lords')%></strong>
<li>Use quotes when you want to find an exact phrase, e.g. <strong><%=search_link('"Liverpool City Council"')%></strong>
- <li><strong>variety:</strong> with value sent, followup_sent, response, comment, authority or user to select type of thing to search for.
- <li><strong>status:</strong> to select based on the status or historical status of the request, see table below.
+ <li><strong>variety:</strong> to select type of thing to search for, see the <a href="#varieties">table of varieties</a> below.
+ <li><strong>status:</strong> to select based on the status or historical status of the request, see the <a href="#statuses">table of statuses</a> below.
<li><strong><%=search_link('requested_from:home_office')%></strong> to search requests from the <%= link_to "Home Office", show_public_body_url(:url_name => 'home_office') %>, typing the name as in the URL.
<li><strong><%=search_link('requested_by:julian_todd')%></strong> to search requests made by <%= link_to "Julian Todd", show_user_url(:url_name => 'julian_todd') %>, typing the name as in the URL.
<li><strong><%=search_link('commented_by:tony_bowden')%></strong> to search annotations made by <%= link_to "Tony Bowden", show_user_url(:url_name => 'tony_bowden') %>, typing the name as in the URL.
@@ -120,7 +120,18 @@
<li>Read about <a href="http://www.xapian.org/docs/queryparser.html">advanced search operators</a>, such as proximity and wildcards.
</ul>
- <h2>Table of statuses</h2>
+ <h2 id="varieties">Table of varieties</h2>
+
+ <table class="status_table">
+ <tr><td><strong><%=search_link('variety:sent')%></strong></td><td> Original request sent</td></tr>
+ <tr><td><strong><%=search_link('variety:followup_sent')%></strong></td><td> Follow up message sent by requester</td></tr>
+ <tr><td><strong><%=search_link('variety:response')%></strong></td><td> Response from a public authority </td></tr>
+ <tr><td><strong><%=search_link('variety:comment')%></strong></td><td> Annotation added to request</td></tr>
+ <tr><td><strong><%=search_link('variety:authority')%></strong></td><td> A public authority </td></tr>
+ <tr><td><strong><%=search_link('variety:user')%></strong></td><td> A WhatDoTheyKnow user </td></tr>
+ </table>
+
+ <h2 id="statuses">Table of statuses</h2>
<table class="status_table">
<tr><td><strong><%=search_link('status:waiting_response')%></strong></td><td> Waiting for the public authority to reply </td></tr>