diff options
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/tags.js.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/viewsjs/tags.js.erb b/web/viewsjs/tags.js.erb index 9dd971e..f87351d 100644 --- a/web/viewsjs/tags.js.erb +++ b/web/viewsjs/tags.js.erb @@ -10,7 +10,8 @@ function page_init() { { display: '<span title="<%= misc.objects_tooltip %>"><img src="/img/types/all.16.png" width="16" height="16" alt=""/> <%= osm.objects %></span>', name: 'count_all', width: 220, sortable: true, align: 'center' }, { display: '<span title="<%= misc.nodes_tooltip %>"><img src="/img/types/node.16.png" width="16" height="16" alt=""/> <%= osm.nodes %></span>', name: 'count_nodes', width: 220, sortable: true, align: 'center' }, { display: '<span title="<%= misc.ways_tooltip %>"><img src="/img/types/way.16.png" width="16" height="16" alt=""/> <%= osm.ways %></span>', name: 'count_ways', width: 220, sortable: true, align: 'center' }, - { display: '<span title="<%= misc.relations_tooltip %>"><img src="/img/types/relation.16.png" width="16" height="16" alt=""/> <%= osm.relations %></span>', name: 'count_relations', width: 220, sortable: true, align: 'center' } + { display: '<span title="<%= misc.relations_tooltip %>"><img src="/img/types/relation.16.png" width="16" height="16" alt=""/> <%= osm.relations %></span>', name: 'count_relations', width: 220, sortable: true, align: 'center' }, + { display: '<img src="/img/sources/wiki.16.png" alt="Wiki" width="16" height="16" title="<%= misc.in_wiki_tooltip %>"/>', name: 'in_wiki', width: 20, sortable: true, align: 'center' } ], searchitems: [ { display: '<%= osm.tag %>', name: 'tag' } @@ -24,7 +25,8 @@ function page_init() { fmt_value_with_percent(row.count_all, row.count_all_fraction), fmt_value_with_percent(row.count_nodes, row.count_nodes_fraction), fmt_value_with_percent(row.count_ways, row.count_ways_fraction), - fmt_value_with_percent(row.count_relations, row.count_relations_fraction) + fmt_value_with_percent(row.count_relations, row.count_relations_fraction), + fmt_checkmark(row.in_wiki) ] }; }); return data; |