mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
Let's try separating content and alm info
This commit is contained in:
@@ -60,6 +60,16 @@
|
||||
|
||||
{{ template "entrydata" $model }}
|
||||
|
||||
{{- if $model.result.Contents | len -}}
|
||||
{{ template "contents" $model }}
|
||||
{{- if $model.result.HasContents -}}
|
||||
<div
|
||||
id="almanachcontents"
|
||||
hx-get="/almanach/{{ $model.result.Entry.MusenalmID }}/contents/{{- if $model.request.query -}}?{{- $model.request.query -}}{{- end -}}"
|
||||
hx-trigger="load"
|
||||
hx-target="this"
|
||||
hx-swap="outerHTML"
|
||||
hx-indicator="body">
|
||||
<div class="container-oversize mt-8 pt-0">
|
||||
<div class="flex justify-center text-sm text-stone-600">Inhalt lädt…</div>
|
||||
</div>
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user