diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/request/show.rhtml | 17 | ||||
-rw-r--r-- | app/views/request_mailer/old_unclassified_updated.rhtml | 2 | ||||
-rw-r--r-- | app/views/request_mailer/overdue_alert.rhtml | 2 |
3 files changed, 14 insertions, 7 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index c8f5f3eed..7c3f79368 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -32,11 +32,18 @@ <% end %> <p class="subtitle"> - <%= _('{{user}} made this {{law_used_full}} request',:user=>user_link(@info_request.user), :law_used_full=>h(@info_request.law_used_full)) %> - <% if !@user.nil? && @user.admin_page_links? %> - (<%= link_to "admin", request_admin_url(@info_request) %>) - <% end %> - <%= _('to {{public_body}}',:public_body=>public_body_link(@info_request.public_body)) %> + <% if !@user.nil? && @user.admin_page_links? %> + <%= _('{{user}} (<a href="{{user_admin_url}}">admin</a>) made this {{law_used_full}} request (<a href="{{request_admin_url}}">admin</a>) to {{public_body_link}} (<a href="{{public_body_admin_url}}">admin</a>)', + :user => user_link(@info_request.user), + :law_used_full => h(@info_request.law_used_full), + :user_admin_url => user_admin_url(@info_request.user), + :request_admin_url => request_admin_url(@info_request), + :public_body_link => public_body_link(@info_request.public_body), + :public_body_admin_url => public_body_admin_url(@info_request.public_body)) %> + <% else %> + <%= _('{{user}} made this {{law_used_full}} request',:user=>user_link(@info_request.user), :law_used_full=>h(@info_request.law_used_full)) %> + <%= _('to {{public_body}}',:public_body=>public_body_link(@info_request.public_body)) %> + <% end %> </p> <p id="request_status" class="request_icon_line icon_<%= @info_request.calculate_status %>"> diff --git a/app/views/request_mailer/old_unclassified_updated.rhtml b/app/views/request_mailer/old_unclassified_updated.rhtml index b03780016..afaa0cf1c 100644 --- a/app/views/request_mailer/old_unclassified_updated.rhtml +++ b/app/views/request_mailer/old_unclassified_updated.rhtml @@ -1,7 +1,7 @@ <%= _('To help us keep the site tidy, someone else has updated the status of the {{law_used_full}} request {{title}} that you made to {{public_body}}, to "{{display_status}}" If you disagree with their categorisation, please update the status again yourself to what you believe to be more accurate.',:law_used_full=>@info_request.law_used_full,:title=>@info_request.title, :public_body=>@info_request.public_body.name,:display_status=>@info_request.display_status.downcase)%> -<%=_ ('Follow this link to see the request:')%> +<%=_('Follow this link to see the request:')%> <%= @url %> diff --git a/app/views/request_mailer/overdue_alert.rhtml b/app/views/request_mailer/overdue_alert.rhtml index 65ae207a2..70b6ffcf1 100644 --- a/app/views/request_mailer/overdue_alert.rhtml +++ b/app/views/request_mailer/overdue_alert.rhtml @@ -1,6 +1,6 @@ <%= @info_request.public_body.name %> <%= _('have delayed.')%> -<%=_ ('They have not replied to your {{law_used_short}} request {{title}} promptly, as normally required by law',:law_used_short=>@info_request.law_used_short,:title=>@info_request.title)%><% if @info_request.public_body.is_school? %> <%=_ ('during term time')%> <% end %>. +<%= _('They have not replied to your {{law_used_short}} request {{title}} promptly, as normally required by law',:law_used_short=>@info_request.law_used_short,:title=>@info_request.title)%><% if @info_request.public_body.is_school? %> <%=_('during term time')%> <% end %>. <%= _('Click on the link below to send a message to {{public_body}} reminding them to reply to your request.',:public_body=>@info_request.public_body.name)%> |