home » zplus/dokk.org.git
ID: 5dfde0bbc41c75a96574272d3248ae3e70c9fbb4
40 lines — 964B — View raw


{% extends "base.html" %}

{% block title %}Man pages named {{ name }} in section {{ section }}{% endblock %}

{% block body %}

<div class="manpages">

    <div class="path">
        <a href="{{ url('homepage') }}">DOKK</a> /
        <a href="{{ url('manpages') }}">manpages</a>
    </div>

    <p>
        Man pages matching name <b>{{ name }}</b> in section <b>{{ section }}</b>:
    </p>

    <p>
    <table>
    {% for page in data["@graph"] %}
        <tr>
            <td>
                <a href="{{ url('manpages') }}/{{ page['@id'][3:] }}">
                    {{ page['mp:source']['mp:filename'] }}
                </a>
            </td>
            <td>
                {{ page['mp:source']['mp:distribution_name'] }}
                {{ page['mp:source']['mp:distribution_version'] }}
                /
                {{ page['mp:source']['mp:package'] }}
            </td>
        </tr>
    {% endfor %}
    </table>
    </p>

</div>

{% endblock %}