diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-14 16:53:47 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-14 16:53:47 +0200 |
commit | 429bfc7b8ef3556aee4aa4906b14597a76fe82fc (patch) | |
tree | 0eaaf3cecd9183fdc83237953505c38688c72b45 | |
parent | 5d679cbbc1b43f8a968885ce599fa62618d04184 (diff) | |
download | taginfo-429bfc7b8ef3556aee4aa4906b14597a76fe82fc.tar taginfo-429bfc7b8ef3556aee4aa4906b14597a76fe82fc.tar.gz |
Change order of buttons on key and tag pages.
-rw-r--r-- | web/views/key.erb | 2 | ||||
-rw-r--r-- | web/views/tag.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/views/key.erb b/web/views/key.erb index 6c62a4b..ae0674a 100644 --- a/web/views/key.erb +++ b/web/views/key.erb @@ -15,12 +15,12 @@ <span class="button disabled" title="<%= h(t.pages.key.button_disabled) %>">XAPI</span> <span class="button disabled" title="<%= h(t.pages.key.button_disabled) %>">JOSM</span> <% end %> - <%= turbo_link(@filter_type, @key) %> <% if @count_all_values <= TaginfoConfig.get('level0.max_results', 10) %> <%= level0_link() %> <% else %> <span class="button disabled" title="<%= h(t.pages.key.button_disabled) %>">Level0 Editor</span> <% end %> + <%= turbo_link(@filter_type, @key) %> </div> <h1></h1> <p><%= @desc %></p> diff --git a/web/views/tag.erb b/web/views/tag.erb index 2956e54..d0640f4 100644 --- a/web/views/tag.erb +++ b/web/views/tag.erb @@ -15,12 +15,12 @@ <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">XAPI</span> <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">JOSM</span> <% end %> - <%= turbo_link(@filter_type, @key, @value) %> <% if @count_all <= TaginfoConfig.get('level0.max_results', 10) %> <%= level0_link() %> <% else %> <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">Level0 Editor</span> <% end %> + <%= turbo_link(@filter_type, @key, @value) %> </div> <h1></h1> <p><%= @desc %></p> |