diff options
author | Jochen Topf <jochen@topf.org> | 2012-01-25 11:07:26 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-01-25 11:07:26 +0100 |
commit | b1347bc3d0ef2f434f18affb1f14086cabb50c81 (patch) | |
tree | c3afce57cc667f4dfadc73d46a510cb2c68d8a6f /web/views | |
parent | beaabfd589a9f04ea5ea6e40c8ab1515ceb0aefa (diff) | |
download | taginfo-b1347bc3d0ef2f434f18affb1f14086cabb50c81.tar taginfo-b1347bc3d0ef2f434f18affb1f14086cabb50c81.tar.gz |
Create new meta section for apidoc and i18n
Diffstat (limited to 'web/views')
-rw-r--r-- | web/views/about.erb | 2 | ||||
-rw-r--r-- | web/views/taginfo/apidoc.erb (renamed from web/views/apidoc.erb) | 0 | ||||
-rw-r--r-- | web/views/taginfo/index.erb | 10 |
3 files changed, 11 insertions, 1 deletions
diff --git a/web/views/about.erb b/web/views/about.erb index ac5fa09..694e48d 100644 --- a/web/views/about.erb +++ b/web/views/about.erb @@ -65,7 +65,7 @@ you. See the <a href="/download">download page</a> for more information.</p> <p>Taginfo data can also be accessed through a REST <b>API</b>. See the - <a href="/apidoc">API call documentation</a> for the details, some general information is + <a href="/taginfo/apidoc">API call documentation</a> for the details, some general information is <a class="extlink" href="http://wiki.openstreetmap.org/wiki/Taginfo/API">on the wiki</a>. The server running the Taginfo API does not have unlimited resources. Please use the API responsibly. If in doubt contact the taginfo maintainers.</p> diff --git a/web/views/apidoc.erb b/web/views/taginfo/apidoc.erb index d3685b3..d3685b3 100644 --- a/web/views/apidoc.erb +++ b/web/views/taginfo/apidoc.erb diff --git a/web/views/taginfo/index.erb b/web/views/taginfo/index.erb new file mode 100644 index 0000000..582056d --- /dev/null +++ b/web/views/taginfo/index.erb @@ -0,0 +1,10 @@ +<div class="pre"> + <h1>taginfo META</h1> + <p>This section is for developers only.</p> +</div> +<div class="box resize"> + <ul> + <li><a href="/taginfo/apidoc"><%= t.taginfo.apidoc %></a></li> + <li><a href="/taginfo/i18n">taginfo text translations</a></li> + </ul> +</div> |