contentdb/app/templates/modnames/list.html

41 lines
817 B
HTML
Raw Normal View History

2018-05-27 17:51:46 +02:00
{% extends "base.html" %}
{% block title %}
2022-09-01 23:45:53 +02:00
{{ _("Mod Names") }}
2018-05-27 17:51:46 +02:00
{% endblock %}
{% block content %}
<div class="list-group">
<div class="list-group-item">
<div class="row text-muted">
<div class="col-sm">
{{ _("Name") }}
</div>
<div class="col-sm-1 text-center">
{{ _("Packages") }}
</div>
</div>
</div>
2022-09-01 23:45:53 +02:00
{% for pair in modnames %}
{% set meta = pair[0] %}
{% set count = pair[1] %}
<a class="list-group-item list-group-item-action"
2022-09-01 23:45:53 +02:00
href="{{ url_for('modnames.view', name=meta.name) }}">
<div class="row">
<div class="col-sm">
{{ meta.name }}
</div>
<div class="col-sm-1 text-center">
{{ count }}
</div>
</div>
</a>
2018-05-27 17:51:46 +02:00
{% else %}
2022-09-01 23:45:53 +02:00
<li><i>{{ _("No mod names found.") }}</i></li>
2018-05-27 17:51:46 +02:00
{% endfor %}
</div>
2018-05-27 17:51:46 +02:00
{% endblock %}