Skip to content
Snippets Groups Projects
Commit 5311fb97 authored by codecraft's avatar codecraft :crocodile:
Browse files

format template code for readability

parent c77ffdf4
No related branches found
No related tags found
1 merge request!42Stylize teckids event
...@@ -9,39 +9,43 @@ ...@@ -9,39 +9,43 @@
<h3 class="title is-5">{{ event.display_name }}</h3> <h3 class="title is-5">{{ event.display_name }}</h3>
<p class="subtitle is-6">{{ event.description }}</p> <p class="subtitle is-6">{{ event.description }}</p>
<div class="notification is-primary is-light"> <div class="notification is-primary is-light">
<div class="columns"> <div class="columns">
<div class="column is-one-third"> <div class="column is-one-third">
<h4 class="title ">Wo?</h4> <h4 class="title ">Wo?</h4>
<i class="fa-regular fa-location-dot mr-3"></i> <i class="fa-regular fa-location-dot mr-3"></i>
<address class="is-inline-block"> <address class="is-inline-block">
{{ event.location }} {{ event.location }}
</address> </address>
</div>
<div class="column is-one-third">
<h4 class="title">Wann?</h4>
<i class="fa-regular fa-calendar-days mr-3"></i>
<time datetime="{{ event.date }}">
{{ event.date | date }}
</time>
</div>
<div class="column is-one-third">
<h4 class="title">Preis?</h4>
<i class="fa-regular fa-money-bill mr-3"></i>
{{ event.cost }} €
</div>
</div> </div>
<div class="column is-one-third">
<h4 class="title">Wann?</h4>
<i class="fa-regular fa-calendar-days mr-3"></i>
<time datetime="{{ event.date }}">
{{ event.date | date }}
</time>
</div>
<div class="column is-one-third">
<h4 class="title">Preis?</h4>
<i class="fa-regular fa-money-bill mr-3"></i>
{{ event.cost }} €
</div>
</div></div>
</div> </div>
</div>
<div class="column is-one-third"> <div class="column is-one-third">
<div class="buttons are-responsive are-medium is-fullheight is-flex is-justify-content-space-between"> <div class="buttons are-responsive are-medium is-fullheight is-flex is-justify-content-space-between">
<a class="button is-primary is-fullwidth is-justify-content-start" href="https://ticdesk.teckids.org/app/paweljong/event/{{ slug }}"> <a class="button is-primary is-fullwidth is-justify-content-start"
href="https://ticdesk.teckids.org/app/paweljong/event/{{ slug }}">
<span class="icon"><i class="fa-regular fa-paper-plane"></i></span> <span class="icon"><i class="fa-regular fa-paper-plane"></i></span>
<span>Zur Anmeldung</span> <span>Zur Anmeldung</span>
</a> </a>
<a class="button is-link is-fullwidth is-justify-content-start" href="mailto:{{ mail|default(value=" verein@teckids.org") }}"> <a class="button is-link is-fullwidth is-justify-content-start" href="mailto:{{ mail|default(value="
verein@teckids.org") }}">
<span class="icon"><i class="fa-regular fa-envelope-open-text"></i></span> <span class="icon"><i class="fa-regular fa-envelope-open-text"></i></span>
<span>E-Mail schreiben</span> <span>E-Mail schreiben</span>
</a> </a>
<a class="button is-link is-fullwidth is-justify-content-start mb-0" href="tel:{{ phone|default(value=" +4922892934160") }}"> <a class="button is-link is-fullwidth is-justify-content-start mb-0" href="tel:{{ phone|default(value="
+4922892934160") }}">
<span class="icon"><i class="fa-regular fa-phone"></i></span> <span class="icon"><i class="fa-regular fa-phone"></i></span>
<span>Anrufen</span> <span>Anrufen</span>
</a> </a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment