aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-18 19:16:40 +0100
committerJochen Topf <jochen@topf.org>2013-01-18 19:16:40 +0100
commit71e774e39117dc51e27902d64ee8a70341a08ef3 (patch)
tree5a214d90dbfdb65585cc64fd8ca768dbd026b643 /web/views
parentee83b7feeca5e0bf0d2e29275ee73919f28bdb60 (diff)
downloadtaginfo-71e774e39117dc51e27902d64ee8a70341a08ef3.tar
taginfo-71e774e39117dc51e27902d64ee8a70341a08ef3.tar.gz
Add role search
Diffstat (limited to 'web/views')
-rw-r--r--web/views/search.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/views/search.erb b/web/views/search.erb
index 30212f7..8b0af63 100644
--- a/web/views/search.erb
+++ b/web/views/search.erb
@@ -6,6 +6,7 @@
<ul>
<li><a href="#keys"><%= t.osm.keys %></a></li>
<li><a href="#values"><%= t.osm.values %></a></li>
+ <li><a href="#roles"><%= t.osm.relation_member_roles %></a></li>
<li><a href="#fulltext"><%= t.pages.search.fulltext %></a></li>
</ul>
<div id="keys">
@@ -18,6 +19,11 @@
<table id="grid-values">
</table>
</div>
+ <div id="roles">
+ <h2><%= t.osm.relation_member_roles %></h2>
+ <table id="grid-roles">
+ </table>
+ </div>
<div id="fulltext">
<h2><%= t.pages.search.fulltext %></h2>
<p class="boxpre" style="color: #f00000;">This search is experimental. It shows keys and tags that might be related to the word you searched for. This doesn't work if there are several words.</p>