conference-archive/templates/event.html

56 lines
1.2 KiB
HTML
Raw Normal View History

2023-09-15 19:04:41 +01:00
{% extends "base.html" %}
{% block title %}{{ item.name }}{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<h1>{{ item.title }}</h1>
<p><a href="{{ url_for("index") }}">home</a></p>
<div class="card my-2">
<div class="card-body">
<h5 class="card-title">
{% if item.url %}
<a href="{{ item.url }}">{{ item.title }}</a>
{% else %}
{{ item.title }}
{% endif %}
</h5>
<h6 class="card-subtitle mb-2 text-body-secondary">
<a href="{{ url_for("conference_page", short_name=item.conference.short_name) }}">{{ item.conference.title }}</a>
</h6>
{% if item.abstract %}
<p class="card-text">
{% if "<" in item.abstract %}
{{ item.abstract | safe }}
{% else %}
{{ item.abstract }}
{% endif %}
</p>
{% endif %}
<p class="card-text">
{% if "<" in item.description %}
{{ item.description | safe }}
{% else %}
{{ item.description }}
{% endif %}
</p>
<p class="card-text">
Speakers:
{% for p in item.people %}
<a href="{{ url_for("person", person_id=p.id) }}">{{ p.name }}</a>
{% endfor %}
</p>
</div>
</div>
</div>
</div>
{% endblock %}