BUGFIX: Speed up A-Z nav

This commit is contained in:
Simon Martens
2026-01-24 09:17:43 +01:00
parent ad02de8807
commit 13a1f4fc3a
19 changed files with 40 additions and 40 deletions

View File

@@ -45,7 +45,7 @@ type AlmanachResult struct {
<i class="ri-book-line"></i> Almanach
</span>
{{- if not $model.is_new -}}
<a href="/almanach/{{- $model.result.Entry.MusenalmID -}}/contents/edit" class="header-tab">
<a href="/almanach/{{- $model.result.Entry.MusenalmID -}}/contents/edit/" class="header-tab">
<i class="ri-file-list-3-line"></i> Beiträge
</a>
{{- else -}}
@@ -76,7 +76,7 @@ type AlmanachResult struct {
<div class="flex flex-row">
{{- if $model.result.PrevByID -}}
<div>
<a href="/almanach/{{ $model.result.PrevByID.MusenalmID }}/edit" class="text-gray-700 hover:text-slate-950 no-underline block ">
<a href="/almanach/{{ $model.result.PrevByID.MusenalmID }}/edit/" class="text-gray-700 hover:text-slate-950 no-underline block ">
<i class="ri-arrow-left-s-line"></i>
</a>
</div>
@@ -90,7 +90,7 @@ type AlmanachResult struct {
</div>
{{- if $model.result.NextByID -}}
<div>
<a href="/almanach/{{ $model.result.NextByID.MusenalmID }}/edit" class="text-gray-700 hover:text-slate-950 block no-underline"><i class="ri-arrow-right-s-line"></i></a>
<a href="/almanach/{{ $model.result.NextByID.MusenalmID }}/edit/" class="text-gray-700 hover:text-slate-950 block no-underline"><i class="ri-arrow-right-s-line"></i></a>
</div>
{{- end -}}
</div>
@@ -109,7 +109,7 @@ type AlmanachResult struct {
<tool-tip position="top" class="!inline">
<div class="data-tip">{{ $model.result.PrevByTitle.PreferredTitle }}</div>
<a
href="/almanach/{{ $model.result.PrevByTitle.MusenalmID }}/edit"
href="/almanach/{{ $model.result.PrevByTitle.MusenalmID }}/edit/"
class="text-gray-700 hover:text-slate-950 no-underline">
<i class="ri-arrow-left-s-line"></i>
</a>
@@ -126,7 +126,7 @@ type AlmanachResult struct {
<tool-tip position="top" class="!inline">
<div class="data-tip">{{ $model.result.NextByTitle.PreferredTitle }}</div>
<a
href="/almanach/{{ $model.result.NextByTitle.MusenalmID }}/edit"
href="/almanach/{{ $model.result.NextByTitle.MusenalmID }}/edit/"
class="text-gray-700 hover:text-slate-950 no-underline">
<i class="ri-arrow-right-s-line"></i>
</a>