fix modal reload

This commit is contained in:
Kevin Papst
2025-11-19 15:17:24 +01:00
parent a15c1e56cb
commit a6766373b4

View File

@@ -26,11 +26,11 @@
</div> </div>
<div class="col-auto"> <div class="col-auto">
{% if favorite.isFavorite() %} {% if favorite.isFavorite() %}
<a href="{{ path('favorites_timesheets_remove', {'id': favorite.timesheet.id}) }}" class="list-group-item-actions show remote-modal-reload"> <a href="{{ path('favorites_timesheets_remove', {'id': favorite.timesheet.id}) }}" data-modal-class="p-0" class="list-group-item-actions show remote-modal-reload">
<i class="text-yellow {{ 'bookmarked'|icon }}"></i> <i class="text-yellow {{ 'bookmarked'|icon }}"></i>
</a> </a>
{% else %} {% else %}
<a href="{{ path('favorites_timesheets_add', {'id': favorite.timesheet.id}) }}" class="list-group-item-actions remote-modal-reload"> <a href="{{ path('favorites_timesheets_add', {'id': favorite.timesheet.id}) }}" data-modal-class="p-0" class="list-group-item-actions remote-modal-reload">
{{ icon('bookmark') }} {{ icon('bookmark') }}
</a> </a>
{% endif %} {% endif %}