From 13a1f4fc3a28f0b1a9c59be520561cb45055c064 Mon Sep 17 00:00:00 2001 From: Simon Martens Date: Sat, 24 Jan 2026 09:17:43 +0100 Subject: [PATCH] BUGFIX: Speed up A-Z nav --- views/routes/almanach/components/entrydata.gohtml | 8 ++++---- views/routes/almanach/contents/edit/body.gohtml | 10 +++++----- .../routes/almanach/contents/edit_item/body.gohtml | 14 +++++++------- views/routes/almanach/edit/body.gohtml | 10 +++++----- views/routes/beitrag/body.gohtml | 2 +- views/routes/components/_content.gohtml | 2 +- views/routes/components/_content_edit_form.gohtml | 2 +- views/routes/components/_content_item.gohtml | 4 ++-- views/routes/components/_reihe.gohtml | 2 +- views/routes/components/_reiherelations.gohtml | 2 +- views/routes/ort/edit/body.gohtml | 4 ++-- views/routes/orte/body.gohtml | 2 +- views/routes/person/body.gohtml | 2 +- views/routes/person/edit/body.gohtml | 4 ++-- views/routes/personen/body.gohtml | 2 +- views/routes/reihe/body.gohtml | 2 +- views/routes/reihe/edit/body.gohtml | 4 ++-- views/routes/reihen/components/notifier.gohtml | 2 +- views/routes/suche/baende/components/band.gohtml | 2 +- 19 files changed, 40 insertions(+), 40 deletions(-) diff --git a/views/routes/almanach/components/entrydata.gohtml b/views/routes/almanach/components/entrydata.gohtml index 9952109..6272506 100644 --- a/views/routes/almanach/components/entrydata.gohtml +++ b/views/routes/almanach/components/entrydata.gohtml @@ -29,7 +29,7 @@
{{ $model.result.PrevByTitle.PreferredTitle }}
@@ -42,7 +42,7 @@
{{ $model.result.NextByTitle.PreferredTitle }}
@@ -53,11 +53,11 @@ {{- if (IsAdminOrEditor $model.request.user) -}}
- Bearbeiten + Bearbeiten
- Beiträge bearbeiten + Beiträge bearbeiten
{{- end -}} diff --git a/views/routes/almanach/contents/edit/body.gohtml b/views/routes/almanach/contents/edit/body.gohtml index 6f61241..371afe7 100644 --- a/views/routes/almanach/contents/edit/body.gohtml +++ b/views/routes/almanach/contents/edit/body.gohtml @@ -7,7 +7,7 @@
{{- if $model.result -}} - + Almanach {{- else -}} @@ -40,7 +40,7 @@
{{- if $model.result.PrevByID -}} @@ -50,7 +50,7 @@
{{- if $model.result.NextByID -}} @@ -71,7 +71,7 @@
{{ $model.result.PrevByTitle.PreferredTitle }}
@@ -88,7 +88,7 @@
{{ $model.result.NextByTitle.PreferredTitle }}
diff --git a/views/routes/almanach/contents/edit_item/body.gohtml b/views/routes/almanach/contents/edit_item/body.gohtml index 63b2700..876bf1f 100644 --- a/views/routes/almanach/contents/edit_item/body.gohtml +++ b/views/routes/almanach/contents/edit_item/body.gohtml @@ -7,7 +7,7 @@
{{- if $model.result -}} - + Almanach {{- else -}} @@ -15,7 +15,7 @@ Almanach {{- end -}} - + Beiträge
@@ -118,7 +118,7 @@ {{- end -}}
@@ -266,7 +266,7 @@ {{- end -}}

- + Liste diff --git a/views/routes/almanach/edit/body.gohtml b/views/routes/almanach/edit/body.gohtml index d02f1aa..a853ba7 100644 --- a/views/routes/almanach/edit/body.gohtml +++ b/views/routes/almanach/edit/body.gohtml @@ -45,7 +45,7 @@ type AlmanachResult struct { Almanach {{- if not $model.is_new -}} - + Beiträge {{- else -}} @@ -76,7 +76,7 @@ type AlmanachResult struct {
{{- if $model.result.PrevByID -}} @@ -90,7 +90,7 @@ type AlmanachResult struct {
{{- if $model.result.NextByID -}}
- +
{{- end -}}
@@ -109,7 +109,7 @@ type AlmanachResult struct {
{{ $model.result.PrevByTitle.PreferredTitle }}
@@ -126,7 +126,7 @@ type AlmanachResult struct {
{{ $model.result.NextByTitle.PreferredTitle }}
diff --git a/views/routes/beitrag/body.gohtml b/views/routes/beitrag/body.gohtml index 543b3da..f7bf4a2 100644 --- a/views/routes/beitrag/body.gohtml +++ b/views/routes/beitrag/body.gohtml @@ -39,7 +39,7 @@ {{- if (IsAdminOrEditor $model.request.user) -}} {{- end -}}
diff --git a/views/routes/components/_content.gohtml b/views/routes/components/_content.gohtml index 3114311..8fca363 100644 --- a/views/routes/components/_content.gohtml +++ b/views/routes/components/_content.gohtml @@ -221,7 +221,7 @@ {{- if and $request (IsAdminOrEditor $request.user) -}} Bearbeiten diff --git a/views/routes/components/_content_edit_form.gohtml b/views/routes/components/_content_edit_form.gohtml index 9d21630..001cd79 100644 --- a/views/routes/components/_content_edit_form.gohtml +++ b/views/routes/components/_content_edit_form.gohtml @@ -36,7 +36,7 @@
- + Zurueck diff --git a/views/routes/components/_content_item.gohtml b/views/routes/components/_content_item.gohtml index a981bc7..9b4b7b6 100644 --- a/views/routes/components/_content_item.gohtml +++ b/views/routes/components/_content_item.gohtml @@ -39,7 +39,7 @@ {{- end -}}
{{- if $content.PreferredTitle -}} {{- $content.PreferredTitle -}} @@ -74,7 +74,7 @@ diff --git a/views/routes/components/_reihe.gohtml b/views/routes/components/_reihe.gohtml index 3c168ba..0ff74d8 100644 --- a/views/routes/components/_reihe.gohtml +++ b/views/routes/components/_reihe.gohtml @@ -33,7 +33,7 @@ Link {{- if (IsAdminOrEditor $request.user) -}} - + Bearbeiten diff --git a/views/routes/components/_reiherelations.gohtml b/views/routes/components/_reiherelations.gohtml index f9195dc..5e7132e 100644 --- a/views/routes/components/_reiherelations.gohtml +++ b/views/routes/components/_reiherelations.gohtml @@ -60,7 +60,7 @@ Alm {{ $bd.MusenalmID }} {{- if (IsAdminOrEditor $request.user) -}} - + {{- end -}} diff --git a/views/routes/ort/edit/body.gohtml b/views/routes/ort/edit/body.gohtml index 1fd33d6..3d68ffa 100644 --- a/views/routes/ort/edit/body.gohtml +++ b/views/routes/ort/edit/body.gohtml @@ -45,7 +45,7 @@
{{ $model.result.Prev.Name }}
@@ -62,7 +62,7 @@
{{ $model.result.Next.Name }}
diff --git a/views/routes/orte/body.gohtml b/views/routes/orte/body.gohtml index 8e59674..65169d7 100644 --- a/views/routes/orte/body.gohtml +++ b/views/routes/orte/body.gohtml @@ -32,7 +32,7 @@
{{- end -}} {{- if (IsAdminOrEditor $model.request.user) -}} - + Bearbeiten {{- end -}} diff --git a/views/routes/person/body.gohtml b/views/routes/person/body.gohtml index fd3fc66..92057ac 100644 --- a/views/routes/person/body.gohtml +++ b/views/routes/person/body.gohtml @@ -46,7 +46,7 @@ {{- end -}}
diff --git a/views/routes/person/edit/body.gohtml b/views/routes/person/edit/body.gohtml index f115f0c..538ae39 100644 --- a/views/routes/person/edit/body.gohtml +++ b/views/routes/person/edit/body.gohtml @@ -41,7 +41,7 @@
{{ $model.result.Prev.Name }}
@@ -58,7 +58,7 @@
{{ $model.result.Next.Name }}
diff --git a/views/routes/personen/body.gohtml b/views/routes/personen/body.gohtml index 6c7a2f3..16b6ef7 100644 --- a/views/routes/personen/body.gohtml +++ b/views/routes/personen/body.gohtml @@ -99,7 +99,7 @@ {{- if (IsAdminOrEditor $model.request.user) -}} diff --git a/views/routes/reihe/body.gohtml b/views/routes/reihe/body.gohtml index aa8cd9b..8175c9e 100644 --- a/views/routes/reihe/body.gohtml +++ b/views/routes/reihe/body.gohtml @@ -48,7 +48,7 @@ {{- end -}}
diff --git a/views/routes/reihe/edit/body.gohtml b/views/routes/reihe/edit/body.gohtml index 2a61336..655025a 100644 --- a/views/routes/reihe/edit/body.gohtml +++ b/views/routes/reihe/edit/body.gohtml @@ -41,7 +41,7 @@
{{ $model.result.Prev.Title }}
@@ -58,7 +58,7 @@
{{ $model.result.Next.Title }}
diff --git a/views/routes/reihen/components/notifier.gohtml b/views/routes/reihen/components/notifier.gohtml index dbd1425..b1826b2 100644 --- a/views/routes/reihen/components/notifier.gohtml +++ b/views/routes/reihen/components/notifier.gohtml @@ -44,7 +44,7 @@ Erscheinungsort · {{ $model.result.Place.Name }} {{- if (IsAdminOrEditor $model.request.user) -}} - + {{- end -}} diff --git a/views/routes/suche/baende/components/band.gohtml b/views/routes/suche/baende/components/band.gohtml index 0a7cb08..00ae571 100644 --- a/views/routes/suche/baende/components/band.gohtml +++ b/views/routes/suche/baende/components/band.gohtml @@ -99,7 +99,7 @@ {{- if (IsAdminOrEditor $model.request.user) -}} - Bearbeiten