whitespace addition for visual grouping

remotes/1726741609412457634/master
Andrew Engelbrecht 8 years ago
parent 86b9f47d29
commit c82654157c
  1. 1
      mediagoblin_libreplanet/__init__.py
  2. 2
      mediagoblin_libreplanet/views.py

@ -76,6 +76,7 @@ register_routes([('all-videos', '/videos',
'mediagoblin.plugins.libreplanet.views:video_listing'),
('all-photos', '/photos',
'mediagoblin.plugins.libreplanet.views:image_listing'),
('featured-videos', '/videos/featured',
'mediagoblin.plugins.libreplanet.views:featured_video_listing'),
('featured-photos', '/photos/featured',

@ -51,6 +51,7 @@ def image_listing(request, page):
def video_listing(request, page):
return type_listing(u'mediagoblin.media_types.video', 'Videos', request, page)
@uses_pagination
def featured_image_listing(request, page):
return type_listing(u'mediagoblin.media_types.image', 'Featured Photos', request, page, "featured")
@ -59,6 +60,7 @@ def featured_image_listing(request, page):
def featured_video_listing(request, page):
return type_listing(u'mediagoblin.media_types.video', 'Featured Videos', request, page, "featured")
@uses_pagination
def libreplanet_image_listing(request, page):
return type_listing(u'mediagoblin.media_types.image', 'LibrePlanet Photos', request, page, "libreplanet")

Loading…
Cancel
Save