conference-archive/confarchive/templates/event.html

58 lines
1.3 KiB
HTML
Raw Permalink 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 %}
2023-09-21 04:59:17 +01:00
{% if item.description %}
2023-09-15 19:04:41 +01:00
<p class="card-text">
2023-09-21 04:59:17 +01:00
{% if "<" in item.description %}
2023-09-15 19:04:41 +01:00
{{ item.description | safe }}
{% else %}
{{ item.description }}
{% endif %}
</p>
2023-09-21 04:59:17 +01:00
{% endif %}
2023-09-15 19:04:41 +01:00
<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 %}