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:
Kevin Morris 2021-09-01 13:55:41 -07:00
parent 4d191b51f9
commit c164abe256
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 104 additions and 0 deletions

View file

@ -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/">