diff options
author | francis <francis> | 2008-05-18 22:27:12 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-18 22:27:12 +0000 |
commit | a8c5badb960a850d6007e7f5b4f8acc1726d1de0 (patch) | |
tree | 7a6ec6f3c8cc61ff7cae1e39a81218706cf21db2 | |
parent | e4c1205ef7736ed52b99688458fa82e037348bd0 (diff) |
Wrong text.
-rw-r--r-- | app/views/request/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/similar.rhtml | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index 181bb27e3..f8cca83c0 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -25,7 +25,7 @@ <p><%= link_to "More similar requests", request_similar_url(@info_request) %></p> <% end %> <% end %> - <!-- <%= @xapian_similar.important_terms.join(" ") %> --> + <!-- Important terms: <%= @xapian_similar.important_terms.join(" ") %> --> <!--<h2>Blog posts about this request</h2> <p>... diff --git a/app/views/request/similar.rhtml b/app/views/request/similar.rhtml index 8bcceab19..4efb237d8 100644 --- a/app/views/request/similar.rhtml +++ b/app/views/request/similar.rhtml @@ -1,8 +1,10 @@ -<% @title = "Requests similar to '" + h(@info_request.title) + "'" %> +<% @title = "Requests similar to '" + h(@info_request.title) + "'" %> <h1><%="Requests similar to '" + request_link(@info_request) + "'"%></h1> +<!-- Important terms: <%= @xapian_object.important_terms.join(" ") %> --> + <% if @xapian_object.results.empty? %> - <p>No requests made yet.</p> + <p>No similar requests found.</p> <% else %> <p class="subtitle"> <%= @xapian_object.matches_estimated %> in total |