mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
24 lines
647 B
HTML
24 lines
647 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Licenses
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-right" href="{{ url_for('admin.create_edit_license') }}">{{ _("New License") }}</a>
|
|
|
|
<h1>{{ _("Licenses") }}</h1>
|
|
|
|
<div class="list-group">
|
|
{% for l in licenses %}
|
|
<a class="list-group-item list-group-item-action"
|
|
href="{{ url_for('admin.create_edit_license', name=l.name) }}">
|
|
<span class="float-right badge {% if l.is_foss %}badge-primary{% else %}badge-warning{% endif %} badge-pill">
|
|
{{ l.is_foss and "Free" or "Non-free"}}
|
|
</span>
|
|
{{ l.name }}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|