diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-31 20:35:18 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-31 20:35:18 +0100 |
commit | b940c8b01a379519dcfc2ac88c7beca86aa79854 (patch) | |
tree | b40eff44ab39a316c1b70862d4ec2317df30a1ed /web/viewsjs | |
parent | 59ca7dcc45cae63309795d3b30822fa06d4b7cb1 (diff) | |
download | taginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar taginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar.gz |
Hide unfinished reports.
Reports without sources are now "hidden", ie. they are not visible in the list
of reports. But if you know the URL you can access them. This allows them to be
tested before they are publicly released. Similarly APIs being tested can now
use the API version 0, which will make them invisible in the API documentation.
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/reports/name_tags.js.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/viewsjs/reports/name_tags.js.erb b/web/viewsjs/reports/name_tags.js.erb index 7bf06ee..d558a29 100644 --- a/web/viewsjs/reports/name_tags.js.erb +++ b/web/viewsjs/reports/name_tags.js.erb @@ -9,7 +9,7 @@ function tt(text, c, title) { var create_flexigrid_for = { "overview": function() { create_flexigrid('grid-name', { - url: '/api/4/keys/name', + url: '/api/0/keys/name', colModel: [ { display: '<%= osm.key %>', name: 'key', width: 250, sortable: true }, { display: '<%= osm.objects %>', name: 'count_all', width: 100, sortable: true, align: 'right' }, @@ -48,7 +48,7 @@ var create_flexigrid_for = { }, "bcp47": function(filter_type) { create_flexigrid('grid-bcp47-subtags', { - url: '/api/4/langtags?filter=' + encodeURIComponent(filter_type), + url: '/api/0/langtags?filter=' + encodeURIComponent(filter_type), colModel: [ { display: 'Type', name: 'type', width: 80, sortable: false }, { display: 'Subtag', name: 'subtag', width: 80, sortable: true }, |