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.
15 lines
562 B
15 lines
562 B
5 years ago
|
<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">{{ i18n "home_tickets_soldout" }}</span>
|
||
|
{{ else }}
|
||
|
<a href="{{ .url }}" class="btn primary" rel="noreferrer" target="_blank">
|
||
|
{{ partial "icon.html" "ticket" }}
|
||
|
{{- i18n "home_tickets_action" -}}
|
||
|
</a>
|
||
|
{{ end }}
|
||
|
</div>
|