initial commit
This commit is contained in:
23
teamsnap/templates/teamsnap/event_list.html
Normal file
23
teamsnap/templates/teamsnap/event_list.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %} {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
<ol class="list-group">
|
||||
{% for item in object_list %}
|
||||
<li class="list-group-item">
|
||||
<span class="fs-5 fw-bold">{{ item.formatted_title }}</span>
|
||||
<span class="fs-6">{{ item.subtitle }}</span>
|
||||
{# {% if item.body %}#}
|
||||
{# <br><span class="fs-6">{{ item.body }}</span>#}
|
||||
<br>{{ item.start_date|date:"D, M j, g:i A" }},<br>{{item.location.name}}
|
||||
{# {% endif %}#}
|
||||
<br>
|
||||
{% for button in item.buttons %}
|
||||
<a class="btn btn-primary btn-sm" href="{{ button.href }}" role="button">{{ button.label }}</a>
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user