Add a "Remind silent" button to the bench attendance sheet
On-demand version of send_deadline_reminders' own NO_RESPONSE nudge, same title/body shape, for a coach who doesn't want to wait for that once-a-day sweep. Shown only when there's someone silent to remind, and only to whoever manages the team. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,6 +36,15 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if can_manage_active_team and silent_count > 0 %}
|
||||
<form class="mt-2" method="post" action="{% url "mobile:coach_attendance_remind_silent" event.pk %}" hx-boost="false">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-secondary w-full gap-2" type="submit">
|
||||
{% lucide "bell" size=16 %} {% blocktrans count counter=silent_count %}Remind {{ counter }} silent player{% plural %}Remind {{ counter }} silent players{% endblocktrans %}
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="{% url "mobile:coach_attendance" event.pk %}" hx-boost="false">
|
||||
{% csrf_token %}
|
||||
<div class="m-card flex flex-col overflow-hidden">
|
||||
|
||||
Reference in New Issue
Block a user