format frontend code #725
@@ -27,8 +27,8 @@ function setChoiceByLabel(choicesInstance, label) {
 | 
				
			|||||||
                            {% set amount_members = planned_trip.rower | length + 1 %}
 | 
					                            {% set amount_members = planned_trip.rower | length + 1 %}
 | 
				
			||||||
                            {{ planned_trip.cox_name }} ({{ amount_members }} Person{{ amount_members | pluralize(singular="", plural="en") }})
 | 
					                            {{ planned_trip.cox_name }} ({{ amount_members }} Person{{ amount_members | pluralize(singular="", plural="en") }})
 | 
				
			||||||
                            <small class="block">{{ planned_trip.planned_starting_time }}</small>
 | 
					                            <small class="block">{{ planned_trip.planned_starting_time }}</small>
 | 
				
			||||||
                            
 | 
					                        </strong>
 | 
				
			||||||
                        </strong><button class="btn btn-primary ml-3"
 | 
					                        <button class="btn btn-primary ml-3"
 | 
				
			||||||
                                onclick="choiceObjects['newrower'].removeActiveItems(-2);choiceObjects['newrower'].setChoiceByValue('{{ planned_trip.cox_id }}'); {% for rower in planned_trip.rower %}setChoiceByLabel(choiceObjects['newrower'], '{{ rower.name }}');{% endfor %}window.scrollTo(0,0); ">
 | 
					                                onclick="choiceObjects['newrower'].removeActiveItems(-2);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>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -100,7 +100,9 @@
 | 
				
			|||||||
                                         style="order: {{ event.planned_starting_time | replace(from=":", to="") }}">
 | 
					                                         style="order: {{ event.planned_starting_time | replace(from=":", to="") }}">
 | 
				
			||||||
                                        <div class="flex justify-between items-center">
 | 
					                                        <div class="flex justify-between items-center">
 | 
				
			||||||
                                            <div class="mr-1">
 | 
					                                            <div class="mr-1">
 | 
				
			||||||
					    {% if event.always_show and not day.regular_sees_this_day %}<span title="Du siehst diese Ausfahrt schon, obwohl sie mehr als {{ amount_days_to_show_trips_ahead }} Tage in der Zukunft liegt. Du Magier!">🔮</span>{% endif -%}
 | 
					                                                {% if event.always_show and not day.regular_sees_this_day %}
 | 
				
			||||||
 | 
					                                                    <span title="Du siehst diese Ausfahrt schon, obwohl sie mehr als {{ amount_days_to_show_trips_ahead }} Tage in der Zukunft liegt. Du Magier!">🔮</span>
 | 
				
			||||||
 | 
					                                                {% endif -%}
 | 
				
			||||||
                                                {%- if event.max_people == 0 %}
 | 
					                                                {%- if event.max_people == 0 %}
 | 
				
			||||||
                                                    <strong class="text-[#f43f5e]">⚠ Absage
 | 
					                                                    <strong class="text-[#f43f5e]">⚠ Absage
 | 
				
			||||||
                                                        {{ event.planned_starting_time }}
 | 
					                                                        {{ event.planned_starting_time }}
 | 
				
			||||||
@@ -275,7 +277,9 @@
 | 
				
			|||||||
                                     data-coxneeded="false">
 | 
					                                     data-coxneeded="false">
 | 
				
			||||||
                                    <div class="flex justify-between items-center">
 | 
					                                    <div class="flex justify-between items-center">
 | 
				
			||||||
                                        <div class="mr-1">
 | 
					                                        <div class="mr-1">
 | 
				
			||||||
					    {% if trip.always_show and not day.regular_sees_this_day %}<span title="Du siehst diese Ausfahrt schon, obwohl sie mehr als {{ amount_days_to_show_trips_ahead }} Tage in der Zukunft liegt. Du Magier!">🔮</span>{% endif -%}
 | 
					                                            {% if trip.always_show and not day.regular_sees_this_day %}
 | 
				
			||||||
 | 
					                                                <span title="Du siehst diese Ausfahrt schon, obwohl sie mehr als {{ amount_days_to_show_trips_ahead }} Tage in der Zukunft liegt. Du Magier!">🔮</span>
 | 
				
			||||||
 | 
					                                            {% endif -%}
 | 
				
			||||||
                                            {% if trip.max_people == 0 %}
 | 
					                                            {% if trip.max_people == 0 %}
 | 
				
			||||||
                                                <strong class="text-[#f43f5e]">⚠
 | 
					                                                <strong class="text-[#f43f5e]">⚠
 | 
				
			||||||
                                                    {{ trip.planned_starting_time }}
 | 
					                                                    {{ trip.planned_starting_time }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user