NDOJ/templates/license.html
2023-05-20 08:52:37 +09:00

13 lines
No EOL
447 B
HTML
Executable file

{% extends "common-content.html" %}
{% block description %}
{% cache 3600 'license_html' license.id %}
{{ license.text|markdown }}
{% 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 %}