|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
# MediaGoblin for LibrePlanet |
|
|
|
|
# Özgür Yazılım Derneği MediaGoblin eklentisi |
|
|
|
|
# Copyright (C) 2015 David Thompson <davet@gnu.org> |
|
|
|
|
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr> |
|
|
|
|
# |
|
|
|
|
# This program is free software: you can redistribute it and/or modify |
|
|
|
|
# it under the terms of the GNU Affero General Public License as published by |
|
|
|
@ -37,7 +38,7 @@ def type_listing(media_type, title, request, page, tag=None): |
|
|
|
|
|
|
|
|
|
return render_to_response( |
|
|
|
|
request, |
|
|
|
|
'libreplanet/listing.html', |
|
|
|
|
'oyd/listing.html', |
|
|
|
|
{'title': title, |
|
|
|
|
'media_entries': media_entries, |
|
|
|
|
'pagination': pagination}) |
|
|
|
@ -59,4 +60,3 @@ def featured_image_listing(request, page): |
|
|
|
|
@uses_pagination |
|
|
|
|
def featured_video_listing(request, page): |
|
|
|
|
return type_listing(u'mediagoblin.media_types.video', 'Featured Videos', request, page, "featured") |
|
|
|
|
|
|
|
|
|