aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request')
-rw-r--r--app/views/request/_request_listing_via_event.rhtml4
-rw-r--r--app/views/request/show.rhtml6
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/request/_request_listing_via_event.rhtml b/app/views/request/_request_listing_via_event.rhtml
index 8e673a142..79bbe0ef4 100644
--- a/app/views/request/_request_listing_via_event.rhtml
+++ b/app/views/request/_request_listing_via_event.rhtml
@@ -4,9 +4,9 @@
<%= link_to @highlighting['InfoRequestEvent'][event.id]["title"], request_url(info_request) %>
<% @highlighting['InfoRequestEvent'][event.id].delete("title") %>
<% elsif not event.incoming_message.nil? %>
- <%= link_to "Response to '" + h(info_request.title) + "'", request_url(info_request)+"#incoming-"+event.incoming_message.id.to_s %>
+ <%= link_to "Response to '" + h(info_request.title) + "'", incoming_message_url(event.incoming_message) %>
<% elsif not event.outgoing_message.nil? and event.event_type == 'followup_sent' %>
- <%= link_to "Follow up message for '" + h(info_request.title) + "'", request_url(info_request)+"#outgoing-"+event.outgoing_message.id.to_s %>
+ <%= link_to "Follow up message for '" + h(info_request.title) + "'", outgoing_message_url(event.outgoing_message) %>
<% else %>
<%= link_to h(info_request.title), request_url(info_request) %>
<% end %>
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index ff3330362..702a8c2e9 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -79,12 +79,12 @@
(<%= link_to "alter your subscriptions", user_url(@user) %>).
<% else %>
<%= link_to "Track updates to this request", track_request_url(:url_title => @info_request.url_title) %>
- (by email or RSS)
+ (by email or RSS feed)
<% end %>
</p>
<% else %>
- <%= link_to "Track updates to this request", track_request_url(:url_title => @info_request.url_title) %>
- (by email or RSS; be the first)
+ Be the first to <%= link_to "track updates to this request", track_request_url(:url_title => @info_request.url_title) %>
+ (by email or RSS feed)
<% end %>
<% if @info_requests_same_user_same_body.size > 0 %>