collections: add support to browse existing collections
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 18 Dec 2012 11:34:30 +0000 (12:34 +0100)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 15 Jan 2013 20:40:05 +0000 (21:40 +0100)
commitb0cc1ade404417a3b4c005ac4e11d5f71ac0c988
treeb559ae4a13be5ae7226def7b23152fd5a1ca3487
parentcf764377df3c985a3f036f14562f8a8a3ed8735f
collections: add support to browse existing collections

- add a route at /u/<user>/collections/ (note trailing 's') that lists
  all existing collections
- move there the "Create new collection" link, if the user is logged in
- add a new link "Browse collections" from root.html
mediagoblin/templates/mediagoblin/root.html
mediagoblin/templates/mediagoblin/user_pages/collections.html [new file with mode: 0644]
mediagoblin/user_pages/routing.py
mediagoblin/user_pages/views.py