Fundraising in PDF.
[wolnelektury.git] / src / picture / templatetags / picture_tags.py
index 43f2775..f6ba500 100644 (file)
@@ -1,5 +1,5 @@
-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
 #
 import logging
 from random import randint
@@ -17,17 +17,6 @@ register = template.Library()
 cropper = CustomCroppingEngine()
 
 
-@register.inclusion_tag('picture/picture_wide.html', takes_context=True)
-def picture_wide(context, picture):
-    context.update({
-        'picture': picture,
-        'main_link': reverse('picture_viewer', args=[picture.slug]),
-        'request': context.get('request'),
-        'tags': split_tags(picture.tags),
-        })
-    return context
-
-
 @register.simple_tag()
 def area_thumbnail_url(area, geometry):
     def to_square(coords):