contentdb/app/templates/meta/list.html
2020-08-18 14:22:16 +01:00

41 lines
808 B
HTML

{% extends "base.html" %}
{% block title %}
Meta Packages
{% 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>
{% else %}
<li><i>No meta packages found.</i></li>
{% endfor %}
</div>
{% endblock %}