Add strikethrough style to browser when objects are deleted
This commit is contained in:
parent
ab0c40107b
commit
2aae01a590
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@ module BrowseHelper
|
|||
end
|
||||
|
||||
def link_class(type, object)
|
||||
return type + " " + h(icon_tags(object).join(' '))
|
||||
return type + " " + h(icon_tags(object).join(' ')) + (object.visible == false ? ' deleted' : '')
|
||||
end
|
||||
|
||||
def link_title(object)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
.node { padding-left: 25px; }
|
||||
.way { padding-left: 25px; }
|
||||
|
||||
.deleted { text-decoration: line-through; }
|
||||
|
||||
/* Nodes */
|
||||
|
||||
.aeroway.aerodrome { background: url(/images/browse/aerodrome.p.16.png) no-repeat center left; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue