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/themes/devfest-theme-hugo/layouts/partials/ticket.html

12 lines
462 B

<div class="ticket" {{ if .soldOut }}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 }}
<a class="btn primary" target="_blank" href="{{ .url }}">Billeterie</a>
{{ end }}
</div>