[openstreetmap-website] Provide default action text when change set and GPS traces are empty (#36)
Tristen Brown
reply+i-3696680-c147b1e77095be2f5f6b050b72c43874aa1ab0be-1419053 at reply.github.com
Sat Mar 17 21:11:44 GMT 2012
This commit 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.
Here's a screenshot link of the GPS tracing page:
https://skitch.com/fallsemo/8k9ke/screenshot-2012-03-17screen-shot-2012-03-17-at-4.52.09-pm
And history changelog:
https://skitch.com/fallsemo/8k9kc/screenshot-2012-03-17screen-shot-2012-03-17-at-4.53.15-pm
You can merge this Pull Request by running:
git pull https://github.com/tristen/openstreetmap-website empty-default-text
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/36
-- Commit Summary --
* Quick formatting of the paging nav doc
* empty default text on tracing page
* Adding empty default text to user history log
-- File Changes --
M app/views/changeset/_changeset_paging_nav.html.erb (4)
M app/views/changeset/list.html.erb (15)
M app/views/trace/_trace_paging_nav.html.erb (28)
M app/views/trace/list.html.erb (10)
M config/locales/en.yml (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/36.patch
https://github.com/openstreetmap/openstreetmap-website/pull/36.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/36
More information about the rails-dev
mailing list