diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-24 22:13:03 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-24 22:13:03 +0100 |
commit | 301079127471428fabb0504e40eaa33a4afc3525 (patch) | |
tree | 77aa8f2cf08e3545e88cc0a279643658b85618cf /web/viewsjs | |
parent | 4bfa3306d07f006fb85a26de261c2052b256694a (diff) | |
download | taginfo-301079127471428fabb0504e40eaa33a4afc3525.tar taginfo-301079127471428fabb0504e40eaa33a4afc3525.tar.gz |
Add in_wiki column to tags
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; |