blob: 78d8909889656ae976c10a5155e644b8cbfa8b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<div class="pre">
<h1><%= @title %></h1>
<p>This table shows keys that appear more than 10 000 times in the OSM
database but have no wiki page describing them. If you know anything about one
of these keys, please create the wiki page by clicking on the link in the
leftmost column and describe the key. Sometimes it might make sense to create a
redirect to a different wiki page instead. To do this put just one line with
<tt style="background-color: #f0f0f0; padding: 0 2px;">#REDIRECT [[<i>page name</i>]]</tt>
in the wiki page.</p>
</div>
<div class="box resize">
<div class="boxpre">
<form method="" type="GET" style="margin-bottom: 10px;">
<input type="checkbox" name="english" id="english"<%= params[:english] == '1' ? ' checked="checked"' : '' %>/> Also show keys that have no English language wiki page but a page in some other language.
</form>
</div>
<table id="grid-keys">
</table>
</div>
<% javascript do
JQuery.ready do
JS.raw(<<"JAVASCRIPT")
resize_wrapper();
create_flexigrid_for.reports.frequently_used_keys_without_wiki_page(#{ params[:english] == '1' ? '1' : '0' });
jQuery('#english').bind('click', function() {
jQuery('#grid-keys').flexOptions({
url: '/api/2/reports/frequently_used_keys_without_wiki_page?english=' + (jQuery('#english')[0].checked ? '1' : '0')
});
jQuery('#grid-keys').flexReload();
});
JAVASCRIPT
end
end
%>
|