aequatorpreis #730

Merged
philipp merged 6 commits from aequatorpreis into main 2024-09-04 20:32:28 +02:00
2 changed files with 50 additions and 21 deletions
Showing only changes of commit 8152822efc - Show all commits

View File

@ -10,12 +10,20 @@
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Erster Log</th> <th>Erster Log</th>
<th>Letzter Log</th> <th>Letzter Log</th>
<th>Gesamt-KM</th> <th>Gesamt-KM</th>
<th>Äquatorpreis (ÄP)</th> <th>Äquatorpreis (ÄP)</th>
<th>ÄP diese<br>Saison bekommen</th> <th>
<th>Fahrtenabzeichen (FA)<br>geschafft</th> ÄP diese
<br>
Saison bekommen
</th>
<th>
Fahrtenabzeichen (FA)
<br>
geschafft
</th>
<th>FA - KM</th> <th>FA - KM</th>
<th>FA - fehlende KM</th> <th>FA - fehlende KM</th>
<th>Eintagesausfahrten</th> <th>Eintagesausfahrten</th>
@ -28,15 +36,21 @@
{% set achievement = person.1 %} {% set achievement = person.1 %}
<tr> <tr>
<td>{{ user.name }}</td> <td>{{ user.name }}</td>
<td>{% if achievement.year_first_mentioned %}{{ achievement.year_first_mentioned }}{% endif %}</td>
<td>{% if achievement.year_last_mentioned %}{{ achievement.year_last_mentioned }}{% endif %}</td>
<td>{{ achievement.all_time_km }}</td>
<td> <td>
{{ achievement.curr_equatorprice_name }} {% if achievement.year_first_mentioned %}{{ achievement.year_first_mentioned }}{% endif %}
</td>
<td>
{% if achievement.year_last_mentioned %}{{ achievement.year_last_mentioned }}{% endif %}
</td>
<td>{{ achievement.all_time_km }}</td>
<td>{{ achievement.curr_equatorprice_name }}</td>
<td>
{% if achievement.new_equatorprice_this_season %}
🎉
{% else %}
-
{% endif %}
</td> </td>
<td>
{% if achievement.new_equatorprice_this_season %}🎉{% else %}-{% endif %}
</td>
{% if achievement.rowingbadge %} {% if achievement.rowingbadge %}
{% set badge = achievement.rowingbadge %} {% set badge = achievement.rowingbadge %}
<td> <td>

View File

@ -74,15 +74,30 @@
</div> </div>
{% endif %} {% endif %}
{% if "Donau Linz" in loggedin_user.roles and "Unterstützend" not in loggedin_user.roles and "Förderndes Mitglied" not in loggedin_user.roles %} {% if "Donau Linz" in loggedin_user.roles and "Unterstützend" not in loggedin_user.roles and "Förderndes Mitglied" not in loggedin_user.roles %}
<dialog id="call-for-action"> <dialog id="call-for-action" class="max-w-screen-sm dark:bg-primary-600 dark:text-white rounded-md" onclick="document.getElementById('call-for-action').close()">
Du hast Ideen für sinnvolle, neue Funktionen für diese Ruderapp? Melde dich bei Philipp, Marie oder it@rudernlinz.at. <div onclick="event.stopPropagation();" class="p-3">
<div onclick="document.getElementById('call-for-action').close()">x</div> <button type="button" onclick="document.getElementById('call-for-action').close()" title="Schließen" class="sidebar-close border-0 bg-primary-100 focus:bg-primary-50 text-black flex items-center justify-center transform rotate-45 absolute right-0 mr-3"><svg class="inline h-5 w-5" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
</dialog> <path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"></path>
</svg>
</button>
<div class="mt-8">
<p>
Du hast Ideen für sinnvolle neue Funktionen für diese Ruderapp? Melde dich bei Philipp, Marie oder <a href="mailto:it@rudernlinz.at" class="underline">it@rudernlinz.at</a>.
</p>
<p class="mt-3">
Wenn du darüber hinaus Lust hast, deine Skills in ein Projekt zu stecken, das Wellen schlagen wird (😀), dann komm an Bord! Wir sind offen für frische Ideen, haben jedoch auch selber noch genügend; langweilig wird uns bestimmt nicht.
</p>
</div>
</div>
</dialog>
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" <div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5"
role="alert"> role="alert">
<h2 class="h2">Persönliches <h2 class="h2">
<span class="text-xl" onclick="document.getElementById('call-for-action').showModal()">💡</span> Persönliches
</h2> <span class="text-xl"
onclick="document.getElementById('call-for-action').showModal()">💡</span>
</h2>
<div class="mx-2 divide-y divide-gray-200 dark:divide-primary-600"> <div class="mx-2 divide-y divide-gray-200 dark:divide-primary-600">
<div class="py-3"> <div class="py-3">
<details> <details>
@ -99,7 +114,7 @@
{% if achievements.rowingbadge %}{{ achievements.rowingbadge.year }}{% endif %} {% if achievements.rowingbadge %}{{ achievements.rowingbadge.year }}{% endif %}
<span><a href="http://www.rudern.at/OFFICE/Downloads/Ausschreibungen/2022/Wanderfahrten//Fahrtenabzeichen%20%C3%84quatorpreis%20und%20Danubius%202022.pdf" <span><a href="http://www.rudern.at/OFFICE/Downloads/Ausschreibungen/2022/Wanderfahrten//Fahrtenabzeichen%20%C3%84quatorpreis%20und%20Danubius%202022.pdf"
target="_blank" target="_blank"
class="w-6 h-6 inline-flex align-center justify-center rounded-full bg-primary-500 ml-2">?</a></span> class="w-6 h-6 inline-flex align-center justify-center rounded-full bg-primary-500 ml-2 text-white">?</a></span>
</h3> </h3>
</summary> </summary>
{% if achievements.rowingbadge %} {% if achievements.rowingbadge %}
@ -169,7 +184,7 @@
Äquatorpreis Äquatorpreis
<span><a href="http://www.rudern.at/OFFICE/Downloads/Ausschreibungen/2022/Wanderfahrten//Fahrtenabzeichen%20%C3%84quatorpreis%20und%20Danubius%202022.pdf" <span><a href="http://www.rudern.at/OFFICE/Downloads/Ausschreibungen/2022/Wanderfahrten//Fahrtenabzeichen%20%C3%84quatorpreis%20und%20Danubius%202022.pdf"
target="_blank" target="_blank"
class="w-6 h-6 inline-flex align-center justify-center rounded-full bg-primary-500 ml-2">?</a></span> class="w-6 h-6 inline-flex align-center justify-center rounded-full bg-primary-500 ml-2 text-white">?</a></span>
</h3> </h3>
</summary> </summary>
<div class="mt-3"> <div class="mt-3">