Handle deleted items better.
This commit is contained in:
parent
b3ef9c06c5
commit
4fbc1ddde4
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
<% if obj.visible %>
|
||||
<%= render :partial => 'map', :locals => { :type => type, :id => obj.id } %>
|
||||
<% else %>
|
||||
Deleted
|
||||
<% end %>
|
||||
<ul>
|
||||
<% if obj.visible %>
|
||||
<li><%= link_to h("API"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id %></li>
|
||||
<% end %>
|
||||
<li><%= link_to h("History"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id, :action => "history" %></li>
|
||||
</ul>
|
||||
Last edited: <%= h(obj.timestamp) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue