You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ozgurkon-site/test-hugo/themes/devfest-theme-hugo/layouts/partials/ticket.html

12 lines
495 B

<div class="ticket" {{ if or .soldOut (not .available) }}aria-disabled="true"{{end}}>
<div class="ticket-name">{{ .name }}</div>
<div class="ticket-price">{{ .price }} {{ .currency }}</div>
<div class="ticket-date">{{ .starts }} - {{ .ends }}</div>
<div class="ticket-info">{{ .info }}</div>
{{ if .soldOut }}
<span class="btn" aria-disabled="true">Rupture de stock</span>
{{ else if .available }}
<a class="btn primary" target="_blank" href="{{ .url}}">Billeterie</a>
{{ end }}
</div>