diff --git a/app/views/map_mailer/access_request_email.html.erb b/app/views/map_mailer/access_request_email.html.erb index 0445c6da..ae4f4018 100644 --- a/app/views/map_mailer/access_request_email.html.erb +++ b/app/views/map_mailer/access_request_email.html.erb @@ -8,12 +8,12 @@
<% button_style = "background-color:#4fc059;border-radius:2px;color:white;display:inline-block;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:12px;font-weight:bold;min-height:29px;line-height:29px;min-width:54px;outline:0px;padding:0 8px;text-align:center;text-decoration:none" %> -

<%= @request.user.name %> is requesting access to collaboratively edit the following metamap:

+

<%= @request.user.name %> is requesting access to collaboratively edit the following map:

<%= @map.name %>

-

<%= link_to "Grant", approve_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #4fc059;" %> -

<%= link_to "Deny", deny_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #DB5D5D;" %>

+

<%= link_to "Allow", approve_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #4fc059;" %> +

<%= link_to "Decline", deny_access_map_url(id: @map.id, request_id: @request.id), target: "_blank", style: "font-size: 18px; text-decoration: none; color: #DB5D5D;" %>

<%= link_to 'Open in Metamaps', map_url(@map), target: "_blank", style: button_style %> diff --git a/app/views/map_mailer/access_request_email.text.erb b/app/views/map_mailer/access_request_email.text.erb index 0c5b07dd..ad698d9e 100644 --- a/app/views/map_mailer/access_request_email.text.erb +++ b/app/views/map_mailer/access_request_email.text.erb @@ -1,9 +1,9 @@ -<%= @request.user.name %> has requested to collaboratively edit the following metamap: +<%= @request.user.name %> has requested to collaboratively edit the following map: <%= @map.name %> [<%= map_url(@map) %>] -Approve Request [<%= approve_access_map_url(id: @map.id, request_id: @request.id) %>] -Deny Request [<%= deny_access_map_url(id: @map.id, request_id: @request.id) %>] +Allow [<%= approve_access_map_url(id: @map.id, request_id: @request.id) %>] +Decline [<%= deny_access_map_url(id: @map.id, request_id: @request.id) %>] Make sense with Metamaps