[openstreetmap-website] Ui default text (#35)

Tristen Brown reply+i-3696584-6629def9cdabe7d7b34ba67a72bbb35fa886b238-1419053 at reply.github.com
Sat Mar 17 20:53:45 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 ui-default-text

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

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

-- Commit Summary --

* Add some extra unit tests for diary entries
* Update schema
* Add some more unit tests for users
* Add some more unit tests for traces
* Update Potlatch 2 to 2.3-210-g4e72cd6 build
* Use normal assignment instead of mass assignment
* Update Potlatch 2 to 2.3-212-g774c6a9 build
* Fix typo
* Save the user record after changing it
* Hide the paging controls if there is only one page
* Quick formatting of the paging nav doc
* empty default text on tracing page
* Quick language change
* Adding empty default text to user history log

-- File Changes --

M app/controllers/user_controller.rb (3)
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)
M db/structure.sql (10)
M public/potlatch2/locales/ast.swf (0)
M public/potlatch2/locales/br.swf (0)
M public/potlatch2/locales/de_DE.swf (0)
M public/potlatch2/locales/en_GB.swf (0)
M public/potlatch2/locales/en_US.swf (0)
M public/potlatch2/locales/es_ES.swf (0)
M public/potlatch2/locales/fi.swf (0)
M public/potlatch2/locales/fr_FR.swf (0)
M public/potlatch2/locales/he.swf (0)
M public/potlatch2/locales/hsb.swf (0)
M public/potlatch2/locales/ja_JP.swf (0)
M public/potlatch2/locales/mk.swf (0)
M public/potlatch2/locales/ms.swf (0)
M public/potlatch2/locales/nb_NO.swf (0)
M public/potlatch2/locales/nl_NL.swf (0)
M public/potlatch2/locales/nn_NO.swf (0)
M public/potlatch2/locales/pl_PL.swf (0)
M public/potlatch2/locales/ru.swf (0)
M public/potlatch2/locales/sq.swf (0)
M public/potlatch2/locales/tr.swf (0)
M public/potlatch2/locales/vi_VN.swf (0)
M public/potlatch2/locales/zh_CN.swf (0)
M public/potlatch2/potlatch2.swf (0)
M test/fixtures/diary_comments.yml (16)
M test/fixtures/diary_entries.yml (17)
M test/fixtures/users.yml (41)
M test/unit/diary_comment_test.rb (3)
M test/unit/diary_entry_test.rb (23)
M test/unit/trace_test.rb (83)
M test/unit/tracetag_test.rb (23)
M test/unit/user_test.rb (88)

-- Patch Links --

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

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



More information about the rails-dev mailing list