mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
14 lines
456 B
HTML
14 lines
456 B
HTML
{% extends "common-content.html" %}
|
|
{% block description %}
|
|
{% cache 3600 'license_html' license.id %}
|
|
{{ license.text|markdown('license') }}
|
|
{% 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><a href="{{ license.link }}">{{ _('Visit source') }}</a></div>
|
|
{% endblock %}
|