mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
BUGFIX: Speed up A-Z nav
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user