diff options
author | francis <francis> | 2008-10-29 11:54:30 +0000 |
---|---|---|
committer | francis <francis> | 2008-10-29 11:54:30 +0000 |
commit | 428dbc12e7a175ab180955aa3d831c2cb49f6203 (patch) | |
tree | 3afa8973870f0985b383e08c540dd154df3f54ad | |
parent | 7b3c0911508f2d4a957eb2e0c25728315d9aee33 (diff) |
Admin button on individual incoming messages.
-rw-r--r-- | app/views/request/_correspondence.rhtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml index 8679ce9ca..e530efc4a 100644 --- a/app/views/request/_correspondence.rhtml +++ b/app/views/request/_correspondence.rhtml @@ -36,8 +36,12 @@ if not incoming_message.nil? <%= render :partial => 'bubble', :locals => { :incoming_message => incoming_message, :body => incoming_message.get_body_for_html_display(@collapse_quotes), :attachments => incoming_message.get_attachments_for_display } %> <p class="event_actions"> + <% if !@user.nil? && @user.admin_page_links? %> + <%= link_to "Admin", admin_url("request/show_raw_email/" + incoming_message.raw_email_id.to_s) %> | + <% end %> <%= link_to "Link to this", incoming_message_url(incoming_message) %> | <%= link_to "Reply to this message", show_response_url(:id => incoming_message.info_request.id, :incoming_message_id => incoming_message.id) + "#followup" %> + </p> </div> <% |