mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(FastAPI): add /pkgbase/{name}/comments/{id}/pin (post)
In addition, fix up some templates to display pinned comments, and include the unpin form input for pinned comments, which is not yet implemented. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
bb45ae7ac3
commit
0895dd07ee
5 changed files with 100 additions and 14 deletions
|
@ -18,7 +18,5 @@
|
|||
|
||||
{% set pkgname = result.Name %}
|
||||
{% set pkgbase_id = result.ID %}
|
||||
{% if comments.count() %}
|
||||
{% include "partials/packages/comments.html" %}
|
||||
{% endif %}
|
||||
{% include "partials/packages/comments.html" %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue