Handle deleted items better.

This commit is contained in:
Christopher Schmidt 2008-04-20 14:34:45 +00:00
parent b3ef9c06c5
commit 4fbc1ddde4

View file

@ -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) %>