contentdb/app/templates/metapackages/list.html

41 lines
830 B
HTML
Raw Normal View History

2018-05-27 17:51:46 +02:00
{% extends "base.html" %}
{% block title %}
2022-01-08 00:27:00 +01:00
{{ _("Meta Packages") }}
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>
{% for pair in mpackages %}
{% set meta = pair[0] %}
{% set count = pair[1] %}
<a class="list-group-item list-group-item-action"
href="{{ url_for('metapackages.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-01-08 00:27:00 +01:00
<li><i>{{ _("No meta packages found.") }}</i></li>
2018-05-27 17:51:46 +02:00
{% endfor %}
</div>
2018-05-27 17:51:46 +02:00
{% endblock %}