contentdb/app/templates/admin/licenses/list.html

17 lines
378 B
HTML
Raw Normal View History

2018-07-28 18:26:28 +02:00
{% extends "base.html" %}
{% block title %}
Licenses
{% endblock %}
{% block content %}
<p>
<a href="{{ url_for('admin.create_edit_license') }}">New License</a>
2018-07-28 18:26:28 +02:00
</p>
<ul>
{% for l in licenses %}
<li><a href="{{ url_for('admin.create_edit_license', name=l.name) }}">{{ l.name }}</a> [{{ l.is_foss and "Free" or "Non-free"}}]</li>
2018-07-28 18:26:28 +02:00
{% endfor %}
</ul>
{% endblock %}