diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/comment/_single_comment.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 5 | ||||
-rw-r--r-- | app/views/request/_correspondence.rhtml | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/app/views/comment/_single_comment.rhtml b/app/views/comment/_single_comment.rhtml index e6a1728a8..013e5e107 100644 --- a/app/views/comment/_single_comment.rhtml +++ b/app/views/comment/_single_comment.rhtml @@ -17,7 +17,7 @@ </div> <p class="event_actions"> <% if !comment.id.nil? %> - <%= link_to "Link to this", comment_url(comment) %> + <%= link_to "Link to this", comment_url(comment), :class => "link_to_this" %> <% if !@user.nil? && @user.admin_page_links? %> | <%= link_to "Admin", admin_url("request/edit_comment/" + comment.id.to_s) %> <% end %> diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index bd96f1528..3e96a8b6e 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -157,6 +157,11 @@ <%= render :partial => 'general/before_body_end' %> </div> <div id="other-country-notice"></div> +<div id="link_box"><span class="close-button">X</span> +<%= _("Paste this link into emails, tweets, and anywhere else:") %> +<br /> +<input type="text"> +</div> </body> </html> diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml index 9500591ea..f1e77de8a 100644 --- a/app/views/request/_correspondence.rhtml +++ b/app/views/request/_correspondence.rhtml @@ -24,7 +24,7 @@ if not incoming_message.nil? <% 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 _("Link to this"), incoming_message_url(incoming_message), :class => "link_to_this" %> | <% if incoming_message.valid_to_reply_to? %> <%= link_to _("Reply to this message"), show_response_url(:id => incoming_message.info_request.id, :incoming_message_id => incoming_message.id) + "#followup" %> <% else %> @@ -57,7 +57,7 @@ elsif [ 'sent', 'followup_sent' ].include?(info_request_event.event_type) <% end %> --> - <%= link_to _("Link to this"), outgoing_message_url(outgoing_message) %> | + <%= link_to _("Link to this"), outgoing_message_url(outgoing_message), :class => "link_to_this" %> | <%= link_to _("Send follow up to the main FOI contact"), show_response_no_followup_url(:id => outgoing_message.info_request.id, :incoming_message_id => nil) + "#followup" %> </p> </div> |