1
0
Fork 0
mirror of https://codeberg.org/rimu/pyfedi synced 2025-02-13 13:58:04 -08:00
pyfedi/app/templates/user/_bookmarks_nav.html
2024-06-21 17:28:49 +08:00

12 lines
No EOL
486 B
HTML

<div class="row mb-4">
<div class="col-auto">
<div class="btn-group">
<a href="/bookmarks" class="btn {{ 'btn-primary' if request.path == '/bookmarks' else 'btn-outline-secondary' }}">
{{ _('Posts') }}
</a>
<a href="/bookmarks/comments" class="btn {{ 'btn-primary' if request.path.endswith('/comments') else 'btn-outline-secondary' }}">
{{ _('Comments') }}
</a>
</div>
</div>
</div>