Files
WYGIWYH/app/templates/includes/transactions_bulk_actions.html
Herculino Trotta 15c29ecfb0 feat(transactions): rework the selection action bar
- Split the selection control into an unselect button and a dropdown
- Expose the new bulk actions in the edit dropdown
- Fold the actions into a single menu and hide the sum on small screens
2026-11-13 18:44:12 -03:00

36 lines
1.4 KiB
HTML

{% load i18n %}
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_unpay' %}" hx-include=".transaction">
<i class="fa-regular fa-circle text-red-400 fa-fw me-3"></i>{% translate 'Mark as unpaid' %}
</a>
</li>
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_pay' %}" hx-include=".transaction">
<i class="fa-regular fa-circle-check text-green-400 fa-fw me-3"></i>{% translate 'Mark as paid' %}
</a>
</li>
<hr class="my-1 hr">
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_mute' %}" hx-include=".transaction">
<i class="fa-solid fa-eye-slash fa-fw me-3"></i>{% translate 'Hide from summaries' %}
</a>
</li>
<hr class="my-1 hr">
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_change_month' change_type='previous' %}"
hx-include=".transaction">
<i class="fa-solid fa-calendar-minus fa-fw me-3"></i>{% translate 'Move to previous month' %}
</a>
</li>
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_change_month' change_type='next' %}"
hx-include=".transaction">
<i class="fa-solid fa-calendar-plus fa-fw me-3"></i>{% translate 'Move to next month' %}
</a>
</li>
<li>
<a class="cursor-pointer" hx-get="{% url 'transactions_bulk_move_to_today' %}" hx-include=".transaction">
<i class="fa-solid fa-calendar-day fa-fw me-3"></i>{% translate 'Move to today' %}
</a>
</li>