NDOJ/templates/license.html

13 lines
465 B
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
{% extends "common-content.html" %}
{% block description %}
{% cache 3600 'license_html' license.id %}
2022-10-25 04:59:04 +00:00
{{ license.text|markdown }}
2020-01-21 06:35:58 +00:00
{% endcache %}
{% endblock %}
{% block info_float %}
{% if perms.judge.change_license %}
<div><a href="{{ url('admin:judge_license_change', license.id) }}">{{ _('Edit') }}</a></div>
{% endif %}
<div><b>{{ _('Source:') }}</b> <a href="{{ license.link }}">{{ license.link }}</a></div>
{% endblock %}