mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
824d349c30
Fixes #520
24 lines
639 B
HTML
24 lines
639 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Licenses
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-end" 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-end badge {% if l.is_foss %}bg-primary{% else %}bg-warning{% endif %} rounded-pill">
|
|
{{ l.is_foss and "Free" or "Non-free"}}
|
|
</span>
|
|
{{ l.name }}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|