aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorAaron Williamson <aaron@copiesofcopies.org>2012-01-17 01:13:55 -0500
committerAaron Williamson <aaron@copiesofcopies.org>2012-01-17 01:13:55 -0500
commit0bfb4dc249715a7a9617c23f42d63ff8aabfd2d9 (patch)
treefaa71d3ea907b9d040fc2d0925285cd61acb82af /mediagoblin/templates
parent25bdf9b6578feb348745e6ac27fc4555e27077b9 (diff)
downloadmediagoblin-0bfb4dc249715a7a9617c23f42d63ff8aabfd2d9.tar.lz
mediagoblin-0bfb4dc249715a7a9617c23f42d63ff8aabfd2d9.tar.xz
mediagoblin-0bfb4dc249715a7a9617c23f42d63ff8aabfd2d9.zip
Added new files
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/utils/license.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/license.html b/mediagoblin/templates/mediagoblin/utils/license.html
new file mode 100644
index 00000000..0f7762bc
--- /dev/null
+++ b/mediagoblin/templates/mediagoblin/utils/license.html
@@ -0,0 +1,26 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011 MediaGoblin contributors. See AUTHORS.
+#
+# 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
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#}
+
+{% block license_content -%}
+ <h3>License</h3>
+ {% if media['license'] %}
+ <a href="{{ media['license'] }}">{{ media.get_license_data()['abbreviation'] }}</a>
+ {% else %}
+ All rights reserved
+ {% endif %}
+{% endblock %}