summaryrefslogtreecommitdiff
path: root/web/views/search.erb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-10-14 19:32:20 +0200
committerJochen Topf <jochen@topf.org>2012-10-14 19:32:20 +0200
commit47eecdd35cac768566fc8a79afe7760bbf99b75a (patch)
tree9257beb7ee8e54b06121d7a7cdb931e92847e00d /web/views/search.erb
parentd8296b1b2e916070e8de2c5435254d60e3b9bd3c (diff)
downloadtaginfo-47eecdd35cac768566fc8a79afe7760bbf99b75a.tar
taginfo-47eecdd35cac768566fc8a79afe7760bbf99b75a.tar.gz
Add minimal support for wiki pages fulltext search
Diffstat (limited to 'web/views/search.erb')
-rw-r--r--web/views/search.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/views/search.erb b/web/views/search.erb
index 92285b7..30212f7 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="#fulltext"><%= t.pages.search.fulltext %></a></li>
</ul>
<div id="keys">
<h2><%= t.osm.keys %></h2>
@@ -17,6 +18,12 @@
<table id="grid-values">
</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>
+ <table id="grid-fulltext">
+ </table>
+ </div>
</div>
<% javascript do
JS.raw(%Q{