X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/58082d128a9eef5037c5b46e17ff59715a9bd6e8..d9e070e06956801aba2378c1b79b4d9f13ae12ee:/app/views/trace/view.rhtml diff --git a/app/views/trace/view.rhtml b/app/views/trace/view.rhtml index d4bdb9745..585342c02 100644 --- a/app/views/trace/view.rhtml +++ b/app/views/trace/view.rhtml @@ -1,6 +1,10 @@

<%= h(@title) %>

- + <% if @trace.inserted %> + + <% else %> + PENDING + <% end %> @@ -49,10 +53,10 @@ <% unless @trace.public? %> <% end %> - <% if @trace.user.id == @user.id %> + <% if @trace.user == @user %> <% end %> - <% if @trace.user.id == @user.id %> + <% if @trace.user == @user %> <% end %>
<%= button_to 'Make this track public permanently', :controller => 'trace', :action => 'make_public', :id => @trace.id %><%= button_to 'Edit this track', :controller => 'trace', :action => 'edit', :id => @trace.id %><%= button_to 'Delete this track', :controller => 'trace', :action => 'delete', :id => @trace.id %>