% topic = @entity || entity %> <% event = @event || event %> <% 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" %>
<%= event.user.name %> added topic <%= topic.name %> to map <%= event.map.name %>
<%= link_to 'Go to Topic', topic_url(topic), style: button_style %> <%= link_to 'Go to Map', map_url(event.map), style: button_style %> <%= render :partial => 'topic_mailer/unfollow' %>