Profil-Verknuepfungen: Namensliste-Name und LektorIn in LV-Details linken direkt auf /person/<uid> (Name-to-Username-Lookup); Lektor-Profil bekommt LV-Plan-Button

This commit is contained in:
Nicolas Gruber
2026-10-21 14:08:42 +02:00
parent e5b01f7c6e
commit 5c4c4a2464
4 changed files with 29 additions and 3 deletions
+5
View File
@@ -67,8 +67,13 @@
{% set dec = decode_matrikel(st.matrikel, meta.stgs) %}
<tr data-search="{{ (st.nachname ~ ' ' ~ st.vorname ~ ' ' ~ st.matrikel) | lower }}">
<td class="num">{{ loop.index }}</td>
{% if st.matrikel %}
<td><a href="/person/{{ st.matrikel }}" title="Profil anzeigen">{{ st.nachname }}</a></td>
<td><a href="/person/{{ st.matrikel }}" title="Profil anzeigen">{{ st.vorname }}</a></td>
{% else %}
<td>{{ st.nachname }}</td>
<td>{{ st.vorname }}</td>
{% endif %}
<td>{{ st.geschlecht }}</td>
<td class="mono">
{% if dec %}
+1 -1
View File
@@ -40,7 +40,7 @@
</table>
{% endif %}
<div class="person-actions">
{% if uid.isdigit() %}<a class="btn btn-primary" href="/plan?uid={{ uid }}">LV-Plan anzeigen</a>{% endif %}
<a class="btn btn-primary" href="/plan?uid={{ uid }}">LV-Plan anzeigen</a>
<a class="btn" href="/fotos">Zurück zur Fotowand</a>
</div>
</div>