mirror of
https://codeberg.org/pluja/kycnot.me
synced 2024-10-01 01:05:59 -04:00
🔀 refactor(service_card.html): update service card template to display different label based on service type or category
🐛 fix(service_card.html): fix missing newline at the end of the file
This commit is contained in:
parent
9d6bdb1341
commit
5e00ea8d94
@ -26,10 +26,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center justify-center pt-3 text-xs">
|
<div class="flex items-center justify-center pt-3 text-xs">
|
||||||
<span class="px-2 py-1 mr-1 font-bold uppercase border text-[10px] rounded text-white/70 bg-zinc-900 border-zinc-700">
|
{{if eq .Type "exchange"}}
|
||||||
|
<span class="px-2 py-1 mr-1 text-xs font-bold uppercase border rounded text-white/70 bg-zinc-900 border-zinc-700">
|
||||||
{{.Type}}
|
{{.Type}}
|
||||||
</span>
|
</span>
|
||||||
|
{{else}}
|
||||||
|
<span class="px-2 py-1 mr-1 text-xs font-bold uppercase border rounded text-white/70 bg-zinc-900 border-zinc-700">
|
||||||
|
{{.Category}}
|
||||||
|
</span>
|
||||||
|
{{end}}
|
||||||
{{template "components/service_icons" .}}
|
{{template "components/service_icons" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user