mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(FastAPI): add Requests navigation item
Along with this, created a new test suite at test/test_html.py, which has the responsibility of testing various HTML things that are not suitable for another test suite. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4d191b51f9
commit
c164abe256
2 changed files with 104 additions and 0 deletions
|
@ -7,6 +7,11 @@
|
|||
{% endif %}
|
||||
<li><a href="/packages/">{% trans %}Packages{% endtrans %}</a></li>
|
||||
{% if request.user.is_authenticated() %}
|
||||
<li>
|
||||
<a href="/requests/">
|
||||
{% trans %}Requests{% endtrans %}
|
||||
</a>
|
||||
</li>
|
||||
{% if request.user.is_trusted_user() or request.user.is_developer() %}
|
||||
<li>
|
||||
<a href="/accounts/">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue