mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-31 01:55:29 +00:00 
			
		
		
		
	Broken ausgabe
This commit is contained in:
		| @@ -48,7 +48,7 @@ | ||||
| 						{{ " " }}{{- range $groupIndex, $groupItem := $groupedItems -}} | ||||
| 							{{- range $issueIndex, $issue := $groupItem.Item.IssueRefs -}} | ||||
| 								{{- if or (gt $groupIndex 0) (gt $issueIndex 0) }}, {{ end -}} | ||||
| 								{{ template "_citation" $issue }} | ||||
| 								<span class="text-blue-600 hover:text-blue-700 underline decoration-dotted hover:decoration-solid [&>a]:text-blue-600 [&>a:hover]:text-blue-700">{{ template "_citation" $issue }}</span> | ||||
| 							{{- end -}} | ||||
| 						{{- end -}} | ||||
| 						{{- /* Add "Ganzer Beitrag" link if piece spans multiple issues */ -}} | ||||
|   | ||||
| @@ -182,7 +182,7 @@ | ||||
| 							{{ " " }}{{- range $pieceIndex, $p := $categoryPieces -}} | ||||
| 								{{- range $issueIndex, $issue := $p.Item.IssueRefs -}} | ||||
| 									{{- if or (gt $pieceIndex 0) (gt $issueIndex 0) }}, {{ end -}} | ||||
| 									{{ template "_citation" $issue }} | ||||
| 									<span class="text-blue-600 hover:text-blue-700 underline decoration-dotted hover:decoration-solid [&>a]:text-blue-600 [&>a:hover]:text-blue-700">{{ template "_citation" $issue }}</span> | ||||
| 								{{- end -}} | ||||
| 							{{- end -}} | ||||
| 							{{- /* Add "Ganzer Beitrag" link if piece spans multiple issues */ -}} | ||||
| @@ -304,7 +304,7 @@ | ||||
| 						{{ " " }}{{- range $pieceIndex, $p := $categoryPieces -}} | ||||
| 							{{- range $issueIndex, $issue := $p.Item.IssueRefs -}} | ||||
| 								{{- if or (gt $pieceIndex 0) (gt $issueIndex 0) }}, {{ end -}} | ||||
| 								{{ template "_citation" $issue }} | ||||
| 								<span class="text-blue-600 hover:text-blue-700 underline decoration-dotted hover:decoration-solid [&>a]:text-blue-600 [&>a:hover]:text-blue-700">{{ template "_citation" $issue }}</span> | ||||
| 							{{- end -}} | ||||
| 						{{- end -}} | ||||
| 						{{- /* Add "Ganzer Beitrag" link if piece spans multiple issues */ -}} | ||||
|   | ||||
| @@ -24,14 +24,14 @@ | ||||
| /{{ $issue.Von }} | ||||
| {{- end -}} | ||||
| {{- end -}}" | ||||
|    class="citation-link text-slate-700 no-underline hover:text-slate-900" | ||||
|    class="citation-link no-underline" | ||||
|    data-citation-url="{{ $url }}"> | ||||
| {{- if $issueData -}} | ||||
| {{ $issueData.Datum.When.Day }}.{{ $issueData.Datum.When.Month }}.{{ $issueData.Datum.When.Year }}/{{ $issue.Nr }} | ||||
| {{- else -}} | ||||
| {{ $issue.When.Year }}/{{ $issue.Nr }} | ||||
| {{- end -}} | ||||
| {{- if $issue.Von }}, {{ if $issue.Beilage }}Beil. {{ end }}{{ $issue.Von }}{{- if and $issue.Bis (ne $issue.Von $issue.Bis) -}} | ||||
| {{- if $issue.Von }}, {{ if $issue.Beilage }}Beil. {{ else }}S. {{ end }}{{ $issue.Von }}{{- if and $issue.Bis (ne $issue.Von $issue.Bis) -}} | ||||
| -{{ $issue.Bis }} | ||||
| {{- end -}} | ||||
| {{- end -}} | ||||
| @@ -68,13 +68,11 @@ function updateCitationLinks() { | ||||
|  | ||||
|         if (isCurrentPage) { | ||||
|             // Style as current page: red text, no underline, not clickable | ||||
|             link.classList.remove('text-slate-700', 'hover:text-slate-900'); | ||||
|             link.classList.add('text-red-700', 'pointer-events-none'); | ||||
|             link.setAttribute('aria-current', 'page'); | ||||
|         } else { | ||||
|             // Reset to default styling for non-current pages | ||||
|             link.classList.remove('text-red-700', 'pointer-events-none'); | ||||
|             link.classList.add('text-slate-700', 'hover:text-slate-900'); | ||||
|             link.removeAttribute('aria-current'); | ||||
|         } | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens