-<%= t'notifier.gpx_notification.your_gpx_file' %>
+<%= t 'notifier.gpx_notification.your_gpx_file' %>
<strong><%= @trace_name %></strong>
-<%= t'notifier.gpx_notification.with_description' %>
+<%= t 'notifier.gpx_notification.with_description' %>
<em><%= @trace_description %></em>
<% if @trace_tags.length>0 %>
- <%= t'notifier.gpx_notification.and_the_tags' %>
+ <%= t 'notifier.gpx_notification.and_the_tags' %>
<em><% @trace_tags.each do |tag| %>
<%= tag.tag.rstrip %>
<% end %></em>
<% else %>
- <%= t'notifier.gpx_notification.and_no_tags' %>
+ <%= t 'notifier.gpx_notification.and_no_tags' %>
<% end %>
<tr>
<td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
<%= link_to(
- image_tag(
- attachments["avatar.png"].url,
- alt: @author,
- title: @author,
- width: 50,
- height: 50,
- border: 0
- ),
- user_url(@author),
- :target => "_blank"
- ) %>
+ image_tag(
+ attachments["avatar.png"].url,
+ alt: @author,
+ title: @author,
+ width: 50,
+ height: 50,
+ border: 0
+ ),
+ user_url(@author),
+ :target => "_blank"
+ ) %>
</td>
<td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
<%= body %>
<% content_for :footer do %>
<p><%= raw t '.footer',
- :readurl => link_to(@readurl, @readurl) + tag(:br),
- :commenturl => link_to(@commenturl, @commenturl) + tag(:br),
- :replyurl => link_to(@replyurl, @replyurl)
- %></p>
+ :readurl => link_to(@readurl, @readurl) + tag(:br),
+ :commenturl => link_to(@commenturl, @commenturl) + tag(:br),
+ :replyurl => link_to(@replyurl, @replyurl) %>
+ </p>
<% end %>
-<p><%= t'notifier.gpx_notification.greeting' %></p>
+<p><%= t 'notifier.gpx_notification.greeting' %></p>
<p>
<%= render :partial => "gpx_description" %>
- <%= t'notifier.gpx_notification.failure.failed_to_import' %>
+ <%= t 'notifier.gpx_notification.failure.failed_to_import' %>
</p>
<blockquote>
</blockquote>
<p>
- <%= t'notifier.gpx_notification.failure.more_info_1' %>
- <%= t'notifier.gpx_notification.failure.more_info_2' %>
- <%= t'notifier.gpx_notification.failure.import_failures_url' %>
+ <%= t 'notifier.gpx_notification.failure.more_info_1' %>
+ <%= t 'notifier.gpx_notification.failure.more_info_2' %>
+ <%= t 'notifier.gpx_notification.failure.import_failures_url' %>
</p>
-<p><%= t'notifier.gpx_notification.greeting' %></p>
+<p><%= t 'notifier.gpx_notification.greeting' %></p>
<p>
<%= render :partial => "gpx_description" %>
- <%= t'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
+ <%= t 'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
</p>
</p>
<p>
<%= raw t '.header',
- :from_user => link_to_user(@from_user),
- :subject => content_tag("em", @title)
- %>
+ :from_user => link_to_user(@from_user),
+ :subject => content_tag("em", @title) %>
</p>
<%= message_body do %>
<p>
<%= t '.footer_html',
:readurl => link_to(@readurl, @readurl) + tag(:br),
- :replyurl => link_to(@replyurl, @replyurl)
- %>
+ :replyurl => link_to(@replyurl, @replyurl) %>
</p>
<% end %>