mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Personen Verbesserungen
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div id="personheader" class="border-t border-r border-zinc-300 relative w-full">
|
||||
{{ template "heading" . }}
|
||||
<div class="flex flex-row justify-end mt-12 items-end">
|
||||
{{ template "notifier" . }}
|
||||
{{ template "notifier" . }}
|
||||
{{ template "professionselectbox" . }}
|
||||
{{ template "searchbox" . }}
|
||||
</div>
|
||||
@@ -29,8 +29,10 @@
|
||||
{{ if .agents }}
|
||||
<div class="w-full flex flex-col">
|
||||
{{ range $count, $agent := .agents }}
|
||||
<div class="flex flex-row odd:bg-stone-100 even:bg-stone-50 px-3 py-0.5">
|
||||
<div class="grow">
|
||||
<div
|
||||
class="flex flex-row odd:bg-stone-100 even:bg-stone-50 px-3 py-0.5"
|
||||
id="personlist">
|
||||
<div class="grow" id="{{- $agent.Id -}}">
|
||||
<a href="/person/{{ $agent.Id }}" class="search-result font-bold">
|
||||
{{ $agent.Name }}
|
||||
</a>
|
||||
@@ -61,11 +63,12 @@
|
||||
{{- $parr := $agent.ProfessionArray -}}
|
||||
{{- if $parr -}}
|
||||
{{- range $i, $p := $parr -}}
|
||||
<div
|
||||
class="inline-block px-2 py-0.5 text-sm font-sans
|
||||
bg-slate-200 rounded ml-2">
|
||||
<a
|
||||
href="/personen/?letter={{- Upper (First $agent.Name) -}}&filter={{ Lower $p }}"
|
||||
class="inline-block px-2 py-0.5 text-sm font-sans no-underline
|
||||
hover:text-slate-950 bg-slate-200 rounded ml-2">
|
||||
{{ $p }}
|
||||
</div>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -79,8 +82,6 @@
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .altagents }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<p>Keine Personen gefunden.</p>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user