closes #2165: license icon on book page
[wolnelektury.git] / apps / catalogue / constants.py
diff --git a/apps/catalogue/constants.py b/apps/catalogue/constants.py
new file mode 100755 (executable)
index 0000000..e1c92f8
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+from django.utils.translation import ugettext_lazy as _
+
+LICENSES = {
+    'http://creativecommons.org/licenses/by-sa/3.0/': {
+        'icon': 'cc-by-sa',
+        'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
+    },
+}