110 lines
3.8 KiB
HTML
110 lines
3.8 KiB
HTML
![]() |
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>{{ data.event_name }}</title>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<meta content="44live" property="og:site_name">
|
||
|
<meta content="{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}" property="og:title">
|
||
|
{%- if data.event_text %}
|
||
|
{%- if data.event_text.append is defined %}
|
||
|
{%- for i in data.event_text %}
|
||
|
{%- if i.text_type_id == 1 %}
|
||
|
<meta content="{{ i.text }}" property="og:description">
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
{%- elif data.event_text.text_type_id == 1 %}
|
||
|
<meta content="{{ data.event_text.text }}" property="og:description">
|
||
|
{%- endif %}
|
||
|
{%- endif %}
|
||
|
<meta content='https://44live.stevenalexander.org/clock.svg' property='og:image'>
|
||
|
<link rel="icon" type="image/x-icon" href="/clock.svg">
|
||
|
<style>
|
||
|
* {
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
footer {
|
||
|
display: flex;
|
||
|
background-color: lightblue;
|
||
|
padding: 5px;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1><a href="https://25live.collegenet.com/pro/louisville#!/home/event/{{ data.event_id }}/details">{{ data.event_name }}</a>{{ " ("+data.event_title+")" if data.event_title }}</h1>
|
||
|
<h2>
|
||
|
{%- if "Rsrv" in data.profile.profile_name %}
|
||
|
{%- if data.profile.reservation.append is defined %}
|
||
|
Start: {{ data.profile.reservation[0].event_start_dt }}<br>
|
||
|
Until: {{ data.profile.reservation[-1].event_end_dt }}
|
||
|
{%- else %}
|
||
|
Start: {{ data.profile.reservation.event_start_dt }}<br>
|
||
|
Until: {{ data.profile.reservation.event_end_dt }}
|
||
|
{%- endif %}
|
||
|
{%- else %}
|
||
|
{{ data.profile.profile_name }}
|
||
|
{%- endif %}
|
||
|
</h2>
|
||
|
{%- if data.profile.append is not defined %}
|
||
|
<h2>
|
||
|
{%- if data.profile.reservation.append is defined %}
|
||
|
{%- if data.profile.reservation[0].space_reservation.append is defined %}
|
||
|
{%- for space in data.profile.reservation[0].space_reservation %}
|
||
|
<a href="/{{ space.space.space_id }}">{{ space.space.formal_name }}</a><br>
|
||
|
{%- endfor %}
|
||
|
{%- else %}
|
||
|
<a href="/{{ data.profile.reservation[0].space_reservation.space_id }}">{{ data.profile.reservation[0].space_reservation.space.formal_name }}</a>
|
||
|
{%- endif %}
|
||
|
{%- else %}
|
||
|
{%- if data.profile.reservation.space_reservation.append is defined %}
|
||
|
{%- for space in data.profile.reservation.space_reservation %}
|
||
|
<a href="/{{ space.space.space_id }}">{{ space.space.formal_name }}</a><br>
|
||
|
{%- endfor %}
|
||
|
{%- else %}
|
||
|
<a href="/{{ data.profile.reservation.space_reservation.space_id }}">{{ data.profile.reservation.space_reservation.space.formal_name }}</a>
|
||
|
{%- endif %}
|
||
|
{%- endif %}
|
||
|
</h2>
|
||
|
{%- endif %}
|
||
|
{%- if data.event_text %}
|
||
|
<h2>Description</h2>
|
||
|
{%- if data.event_text.append is defined %}
|
||
|
{%- for i in data.event_text %}
|
||
|
{%- if i.text_type_id == 1 %}
|
||
|
<h3>{{ i.text | safe }}</h3>
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
{%- elif data.event_text.text_type_id == 1 %}
|
||
|
<h3>{{ data.event_text.text | safe }}</h3>
|
||
|
{%- endif %}
|
||
|
{%- endif %}
|
||
|
<h2>Contact(s)</h2>
|
||
|
{%- for i in data.role %}
|
||
|
<h3>{{ i.role_name }}: {{ i.contact.contact_first_name }} {{ i.contact.contact_middle_name }} {{ i.contact.contact_last_name }}</h3>
|
||
|
{%- if i.contact.email %}
|
||
|
<p>Email: {{ i.contact.email }}</p>
|
||
|
{%- endif %}
|
||
|
{%- if i.contact.phone %}
|
||
|
<p>Phone: {{ i.contact.phone }}</p>
|
||
|
{%- endif %}
|
||
|
{%- if i.contact.formatted_address %}
|
||
|
<p>Address: {{ i.contact.formatted_address }}</p>
|
||
|
{%- endif %}
|
||
|
{%- endfor %}
|
||
|
{%- if data.custom_attribute %}
|
||
|
<h2>Custom Attribute(s)</h2>
|
||
|
{%- if data.custom_attribute.append is defined %}
|
||
|
{%- for i in data.custom_attribute %}
|
||
|
<h3>{{ i.attribute_name }}</h3>
|
||
|
<p>{{ i.attribute_value }}</p>
|
||
|
{%- endfor %}
|
||
|
{%- else %}
|
||
|
<h3>{{ data.custom_attribute.attribute_name }}</h3>
|
||
|
<p>{{ data.custom_attribute.attribute_value }}</p>
|
||
|
{%- endif %}
|
||
|
{%- endif %}
|
||
|
<footer>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</footer>
|
||
|
</body>
|
||
|
</html>
|