]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/view.html.erb
Experimental CSS media queries to support iPhone and other small-screen devices.
[rails.git] / app / views / trace / view.html.erb
index 4ab46bd3ef5de04b7dda87d5d27fc1589af83090..47a9f8ad22f1f4fed9f8cea05252fefd4ece282a 100644 (file)
     <% end %>
     </td>
   </tr>
+  <tr>
+    <td><%= t'trace.view.visibility' %></td>
+    <td><%= t"trace.visibility.#{@trace.visibility}" %></td>
+  </tr>
 </table>
 
 <br /><br />
 
 <table>
   <tr>
-    <% unless @trace.public? %>
-    <td><%= button_to t('trace.view.make_public'), :controller => 'trace', :action => 'make_public', :id => @trace.id %></td>
-    <% end %>
     <% if @trace.user == @user %>
     <td><%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %></td>
     <% end %>