conference-archive/confarchive/templates/event.html
2023-09-25 18:01:12 +01:00

58 lines
1.3 KiB
HTML

{% 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 %}
{% if item.description %}
<p class="card-text">
{% if "<" in item.description %}
{{ item.description | safe }}
{% else %}
{{ item.description }}
{% endif %}
</p>
{% endif %}
<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 %}