JIA-Kachel Info (#290)
All checks were successful
Website Dev / Entwicklungsumgebung (push) Successful in 13s

Reviewed-on: #290
This commit is contained in:
2024-09-15 17:23:25 +02:00
parent cbf2c3cdcc
commit 2385b51b04
2 changed files with 13 additions and 1 deletions

View File

@ -15,7 +15,11 @@
</div>
<div class="card-body d-flex flex-column">
<h4 class="card-title text-truncate">{{ .title }}</h4>
<button type="button" class="btn btn-primary btn-sm mt-auto align-self-start" onclick="$('#{{ md5 .title }}').modal('show');" data-pagefind-ignore>Mehr anzeigen</button>
{{ if .external.enable }}
<a href="{{ .external.link | absURL }}" class="btn btn-primary btn-sm mt-auto align-self-start">Mehr anzeigen</a>
{{ else }}
<button type="button" class="btn btn-primary btn-sm mt-auto align-self-start" onclick="$('#{{ md5 .title }}').modal('show');" data-pagefind-ignore>Mehr anzeigen</button>
{{ end }}
</div>
</div>
</div>