Add maintained packages to user profile

This commit is contained in:
rubenwardy
2021-07-25 18:42:11 +01:00
parent 95bd1a50d9
commit 33aedb233d
2 changed files with 22 additions and 5 deletions

View File

@@ -275,6 +275,15 @@
{{ render_pkggrid(packages, show_author=False) }}
{% if maintained_packages %}
<h2 class="my-3">{{ _("Maintained Packages") }}</h2>
<p class="text-muted">
{{ _("This user is also a maintainer of the following packages") }}
</p>
{{ render_pkggrid(maintained_packages) }}
{% endif %}
<h2 class="my-3" id="reviews">{{ _("Reviews") }}</h2>
{% from "macros/reviews.html" import render_reviews %}
{{ render_reviews(user.reviews, current_user, True) }}