diff options
author | Jochen Topf <jochen@topf.org> | 2012-10-14 19:32:20 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-10-14 19:32:20 +0200 |
commit | 47eecdd35cac768566fc8a79afe7760bbf99b75a (patch) | |
tree | 9257beb7ee8e54b06121d7a7cdb931e92847e00d /web/views/search.erb | |
parent | d8296b1b2e916070e8de2c5435254d60e3b9bd3c (diff) | |
download | taginfo-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.erb | 7 |
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{ |