mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-20 11:06:09 +00:00
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
{% extends "layout.html" %}
|
|
{% from "_macros.html" import render_ooa, render_place, render_events_sub_menu %}
|
|
{% block title %}
|
|
{{ _('Event Dates') }}
|
|
{% endblock %}
|
|
{% block content %}
|
|
|
|
<h1>{{ _('Event Dates') }}</h1>
|
|
|
|
{% for date in dates %}
|
|
<div class="card mb-3" style="max-width: 768px;">
|
|
{% if date.event.photo_id %}
|
|
<img src="{{ url_for('image', id=date.event.photo_id) }}" class="card-img-top" style="object-fit: cover; height: 20vh;" />
|
|
{% endif %}
|
|
<div class="card-body" style="padding:1rem">
|
|
<h5 class="card-title">{{ date.event.name }}</h5>
|
|
<h6 class="card-subtitle mb-2 text-muted"><i class="fa fa-calendar"></i> {{ date.start | datetimeformat('short') }}</h6>
|
|
<p class="card-text">{{ date.event.description | truncate(100) }}</p>
|
|
<small class="text-muted"><i class="fa fa-map-marker"></i> {% if date.event.place %}{{ date.event.place.name }}{% else %}{{ date.event.event_place.name }}{% endif %}</small>
|
|
<a href="{{ url_for('event_date', id=date.id) }}" class="stretched-link"></a>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% endblock %} |