aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/request/_correspondence.rhtml6
-rw-r--r--app/views/request/show.rhtml14
2 files changed, 9 insertions, 11 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml
index 1943d2de8..090f5a728 100644
--- a/app/views/request/_correspondence.rhtml
+++ b/app/views/request/_correspondence.rhtml
@@ -35,12 +35,6 @@ elsif [ 'sent', 'followup_sent' ].include?(info_request_event.event_type)
%>
<div class="correspondence" id="outgoing-<%=outgoing_message.id.to_s%>">
- <% if @info_request.user.profile_photo %>
- <p class="user_photo_on_correspondence">
- <img src="<%= get_profile_photo_url(:url_name => @info_request.user.url_name) %>">
- </p>
- <% end %>
-
<h2>
<%=h @info_request.user.name %><br>
<br><%= simple_date(info_request_event.created_at) %>
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index 97dc32512..b08dd04ac 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -25,15 +25,19 @@
<div id="request_main">
<h1><%=@title%></h1>
+ <% if @info_request.user.profile_photo %>
+ <p class="user_photo_on_request">
+ <img src="<%= get_profile_photo_url(:url_name => @info_request.user.url_name) %>">
+ </p>
+ <% end %>
+
<p class="subtitle">
- <%=h @info_request.law_used_with_a%>
+ <%= user_link(@info_request.user) %> made this
<% if !@user.nil? && @user.admin_page_links? %>
(<%= link_to "admin", request_admin_url(@info_request) %>)
<% end %>
- to
- <%= public_body_link(@info_request.public_body) %>
- by
- <%= user_link(@info_request.user) %>
+ <%=h @info_request.law_used_full%>
+ request to <%= public_body_link(@info_request.public_body) %>
</p>
<p id="request_status" class="request_icon_line icon_<%= @info_request.calculate_status %>">