mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
51 lines
1.1 KiB
HTML
51 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Languages") }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-end" href="{{ url_for('admin.create_edit_language') }}">{{ _("New Tag") }}</a>
|
|
|
|
<h1>{{ _("Languages") }}</h1>
|
|
|
|
<div class="list-group">
|
|
<div class="list-group-item">
|
|
<div class="row text-muted">
|
|
<div class="col-2">
|
|
{{ _("Id") }}
|
|
</div>
|
|
|
|
<div class="col">
|
|
{{ _("Title") }}
|
|
</div>
|
|
|
|
<div class="col-3 text-end">
|
|
{{ _("Has ContentDB translation?") }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% for l in languages %}
|
|
<a class="list-group-item list-group-item-action"
|
|
href="{{ url_for('admin.create_edit_language', id_=l.id) }}">
|
|
<div class="row">
|
|
<div class="col-2">
|
|
{{ l.id }}
|
|
</div>
|
|
<div class="col">
|
|
{{ l.title }}
|
|
</div>
|
|
<div class="col-3 text-end">
|
|
{% if l.has_contentdb_translation %}
|
|
<i class="fas fa-check text-success"></i>
|
|
{% else %}
|
|
<i class="fas fa-times text-danger"></i>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|