]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Isolate object names from the database with a <bdi> tag
[rails.git] / app / views / browse / note.html.erb
index 90d34b5742dbbd8ea6a3c5f2e735efc132327faa..fa6f75ff9e01f40e5aaee8b93691a6e3269589e6 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title("#{t('browse.note.title')} | #{@note.id}") %>
+<% set_title(t('browse.note.title', :id => @note.id)) %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
@@ -6,12 +6,12 @@
 </h2>
 
 <div class="browse-section">
 </h2>
 
 <div class="browse-section">
-  <h4><%= t('browse.note.mine.description') %></h4>
+  <h4><%= t('browse.note.description') %></h4>
   <div class="note-description">
     <%= h(@note.comments.first.body.to_html) %>
   </div>
 
   <div class="note-description">
     <%= h(@note.comments.first.body.to_html) %>
   </div>
 
-  <div class="details" data-coordinates="<%= number_with_delimiter(@note.lat) %>,<%=number_with_delimiter(@note.lon) %>" data-status="<%= @note.status %>">
+  <div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>