From 4fbc1ddde4d33dd0bf13f7a035f7faa96f3ef1e7 Mon Sep 17 00:00:00 2001 From: Christopher Schmidt Date: Sun, 20 Apr 2008 14:34:45 +0000 Subject: [PATCH 1/1] Handle deleted items better. --- app/views/browse/_common.rhtml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/browse/_common.rhtml b/app/views/browse/_common.rhtml index d400405c3..d5db7c6cc 100644 --- a/app/views/browse/_common.rhtml +++ b/app/views/browse/_common.rhtml @@ -1,6 +1,12 @@ +<% if obj.visible %> <%= render :partial => 'map', :locals => { :type => type, :id => obj.id } %> +<% else %> +Deleted +<% end %> Last edited: <%= h(obj.timestamp) %> -- 2.43.2