BUGFIX: lots of small things

This commit is contained in:
Simon Martens
2025-03-07 12:44:53 +01:00
parent 39537a8ebb
commit ec32aca0bb
15 changed files with 199 additions and 68 deletions

View File

@@ -56,13 +56,18 @@
<span class="">
{{ $model.result.Agent.BiographicalData }}
</span>
{{- if $model.result.Agent.References }}
<span class="inline-block bg-stone-200 px-2 mx-1 font-sans text-base rounded ">
{{ $model.result.Agent.References }}
</span>
{{ end }}
<span class="">
{{- $arr := $model.result.Agent.ProfessionArray -}}
{{- if $arr -}}
{{- range $i, $p := $arr -}}
<a
href="/personen/?letter={{- Upper (First $model.result.Agent.Name) -}}&filter={{ Lower $p }}#{{- $model.result.Agent.Id -}}"
class="inline-block align-middle bg-slate-200 px-2 font-sans text-sm py-0.5 rounded mx-1
class="inline-block bg-slate-200 px-2 text-base font-sans rounded mx-1
hover:text-slate-900 no-underline">
{{- $p -}}
</a>