1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 06:19:38 +02:00

Implement user-specific category filtering in AdventureViewSet and update AdventureCard to display category details

This commit is contained in:
Sean Morley 2024-11-16 22:31:39 -05:00
parent ae92fc2027
commit 42f07dc2fb
4 changed files with 21 additions and 6 deletions

View file

@ -129,7 +129,9 @@
</button>
</div>
<div>
<div class="badge badge-primary">{$t(`adventures.activities.${adventure.type}`)}</div>
<div class="badge badge-primary">
{`${adventure.category.display_name} ${adventure.category.icon}`}
</div>
<div class="badge badge-success">
{adventure.is_visited ? $t('adventures.visited') : $t('adventures.planned')}
</div>