keep-rowers-on-boatchange #674

Merged
philipp merged 3 commits from keep-rowers-on-boatchange into staging 2024-08-15 15:51:09 +02:00
Showing only changes of commit 11dd978135 - Show all commits

View File

@ -27,7 +27,7 @@ function setChoiceByLabel(choicesInstance, label) {
{{ planned_trip.cox_name }} ({{ planned_trip.rower | length + 1 }} Personen) {{ planned_trip.cox_name }} ({{ planned_trip.rower | length + 1 }} Personen)
<small>{{ planned_trip.planned_starting_time }}</small> <small>{{ planned_trip.planned_starting_time }}</small>
<button class="btn btn-primary" <button class="btn btn-primary"
onclick="choiceObjects['newrower'].removeActiveItems(-1);choiceObjects['newrower'].setChoiceByValue('{{ planned_trip.cox_id }}'); {% for rower in planned_trip.rower %}setChoiceByLabel(choiceObjects['newrower'], '{{ rower.name }}'){% endfor %} "> onclick="choiceObjects['newrower'].removeActiveItems(-1);choiceObjects['newrower'].setChoiceByValue('{{ planned_trip.cox_id }}'); {% for rower in planned_trip.rower %}setChoiceByLabel(choiceObjects['newrower'], '{{ rower.name }}');{% endfor %}window.scrollTo(0,0); ">
👥 👥
</button> </button>
</strong> </strong>