[openstreetmap-website] Provide default action text when change set and GPS traces are empty (#58)

Steve Singer reply+i-5867327-2a546d24c8429c1103162f47b98e9e7f884a8022-1419053 at reply.github.com
Fri Jul 27 01:05:05 BST 2012


This pull request replaces 
https://github.com/openstreetmap/openstreetmap-website/pull/36 I think it addresses the issue raised in the earlier pull request and removes commits that were later undone from the commit history.



This changes adds some sensible action copy to new users who do not have a populated changeset log or GPS trace. It also removes paging markup if there are no additional pages to browse under these sections.


You can merge this Pull Request by running:

  git pull https://github.com/ssinger/openstreetmap-website empty-default-text_july

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/58

-- Commit Summary --

* empty default text on tracing page
* Adding empty default text to user history log
* Little conditional text for anonymous users
* Bad link markup
* Bad link on create gps trace
* Navigation changes to the GPX traces page
* Don't show the changeset container or map if there are no changesets
* Replace 'raw' with a translation with the _html suffix

-- File Changes --

M app/views/changeset/list.html.erb (13)
M app/views/trace/_trace_paging_nav.html.erb (25)
M app/views/trace/list.html.erb (11)
M config/locales/en.yml (8)

-- Patch Links --

  https://github.com/openstreetmap/openstreetmap-website/pull/58.patch
  https://github.com/openstreetmap/openstreetmap-website/pull/58.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/58



More information about the rails-dev mailing list