mark action labels for translation
[redakcja.git] / apps / catalogue / templatetags / catalogue_files.py
index 8b6ea85..6ee86f5 100644 (file)
@@ -1,3 +1,8 @@
+# -*- coding: utf-8 -*-
+#
+# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
 from django import template
 from django.conf import settings
 register = template.Library()
@@ -8,4 +13,3 @@ def as_media_for(uri, document):
     if uri.startswith('file://'):
         uri = "https://milpeer.eu%suploads/%d/%s" % (settings.MEDIA_URL, document.pk, uri[len('file://'):])
     return uri
-