diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/general/frontpage.rhtml | 10 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/list.rhtml | 5 |
3 files changed, 13 insertions, 4 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml index 2717d3037..f0181b50c 100644 --- a/app/views/general/frontpage.rhtml +++ b/app/views/general/frontpage.rhtml @@ -3,14 +3,20 @@ <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %> <p> - <strong>First, type in the name of the UK public authority - <br>you'd like information from OR anything to search for</strong> + First, type in the <strong>name of the UK public authority</strong> you'd + <br>like information from. <strong>By law, they have to send it to you.</strong> + <br> + <br> <%= text_field_tag 'query', params[:query], { :size => 30 } %> <%= hidden_field_tag 'bodies', 1 %> <%= submit_tag "Search" %> <br> e.g. <%=link_to 'Liverpool', search_url('liverpool', 'bodies')%>, <%=link_to 'MRSA', search_url('mrsa', 'bodies')%>, <%=link_to 'Treasury', search_url('treasury', 'bodies')%> + + <br> + <br> + OR, <strong>search</strong> for information others have requested. </p> <% end %> </div> diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index c3aed2e74..1cb18626b 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -50,7 +50,7 @@ <div id="topnav"> <ul id="navigation"> <li><a href="/">Make request</a></li> - <li><%= link_to "View requests", request_list_url(:view => nil) %></li> + <li><%= link_to "View requests", request_list_url(:view => 'successful') %></li> <li><%= link_to "View authorities", list_public_bodies_default %></li> <% if @user %> <li><%=link_to "My requests", user_url(@user) %></li> diff --git a/app/views/request/list.rhtml b/app/views/request/list.rhtml index 3b732e0de..102627e59 100644 --- a/app/views/request/list.rhtml +++ b/app/views/request/list.rhtml @@ -1,7 +1,10 @@ <div id="list_sidebar"> <h1>Show only...</h1> <ul> -<% for view, description in [ [nil, "Recently sent requests"], ['successful', "Successful responses"] ] %> +<% for view, description in [ + ['successful', "Successful responses"], + ['recent', "Recently sent requests"] +] %> <li> <%= link_to_unless (@view == view), description, request_list_url(:view => view) %> </li> |