aurweb/templates/packages/show.html
Kevin Morris 8040ef5a9c
fix(FastAPI): use pkgbase in package actions
Previously, `result` was being used which was directly set to
`pkgbase` before rendering the actions.html partial. It didn't
make much sense. This commit cleans things up a bit.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-15 19:02:53 -07:00

21 lines
662 B
HTML

{% extends "partials/layout.html" %}
{% block pageContent %}
{% include "partials/packages/search.html" %}
<div id="pkgdetails" class="box">
<h2>{{ 'Package Details' | tr }}: {{ package.Name }} {{ package.Version }}</h2>
{% include "partials/packages/actions.html" %}
{% set show_package_details = True %}
{% include "partials/packages/details.html" %}
<div id="metadata">
{% include "partials/packages/package_metadata.html" %}
</div>
</div>
{% set pkgname = package.Name %}
{% set pkgbase_id = pkgbase.ID %}
{% include "partials/packages/comments.html" %}
{% endblock %}