mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Suche nach Musenalm-ID implementiert
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{{ $model := index . 0 }}
|
||||
{{ $r := index . 1 }}
|
||||
{{ $showidseries := index . 2 }}
|
||||
|
||||
{{ $bds := index $model.relations $r.Id }}
|
||||
|
||||
@@ -9,13 +10,15 @@
|
||||
{{ if $r.References }}
|
||||
<div class="text-sm font-sans px-2 py-1 bg-stone-100">{{ $r.References }}</div>
|
||||
{{ end }}
|
||||
{{ if $model.musenalmid }}
|
||||
{{ if $showidseries }}
|
||||
{{ range $_, $rel := $bds }}
|
||||
<div class="font-sans text-sm px-2 py-1 bg-stone-100 searchable my-0.5">
|
||||
Almanach-Nr.
|
||||
{{ (index $model.entries
|
||||
$rel.Entry).MusenalmID
|
||||
}}
|
||||
<span class="reihen-text">
|
||||
{{ (index $model.entries
|
||||
$rel.Entry).MusenalmID
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[&>*]:px-12 [&>*]:pt-8 -mr-36 [&>*]:bg-slate-100">
|
||||
{{ if .agents }}
|
||||
<div class="">
|
||||
<h2 class="mb-6">Personen, Verlage & Druckereien</h2>
|
||||
<h2 class="mb-6">Herausgeber:innen, Verlage & Druckereien</h2>
|
||||
<filter-list
|
||||
id="agent-list"
|
||||
data-url="/reihen/?agent="
|
||||
|
||||
Reference in New Issue
Block a user