feat: Anzeige des Gegners für Spiel-Termine auf dem Dashboard
This commit is contained in:
parent
852c776879
commit
84a37206fd
@ -28,6 +28,9 @@
|
||||
<h5 class="mb-1">{{ item.event.title }}</h5>
|
||||
<small>{{ item.event.start_time|localize }}</small>
|
||||
</div>
|
||||
{% if item.event.game %}
|
||||
<p class="mb-1"><strong>Opponent:</strong> {{ item.event.game.opponent }}</p>
|
||||
{% endif %}
|
||||
<p class="mb-1">{{ item.event.description }}</p>
|
||||
<small>Location: {{ item.event.location_address }}</small>
|
||||
<a href="{{ item.event.maps_shortlink }}" target="_blank" class="btn btn-secondary btn-sm">View on Map</a>
|
||||
@ -82,6 +85,9 @@
|
||||
<h5 class="mb-1">{{ item.event.title }}</h5>
|
||||
<small>{{ item.event.start_time|localize }}</small>
|
||||
</div>
|
||||
{% if item.event.game %}
|
||||
<p class="mb-1"><strong>Opponent:</strong> {{ item.event.game.opponent }}</p>
|
||||
{% endif %}
|
||||
<p class="mb-1">{{ item.event.description }}</p>
|
||||
<small>Location: {{ item.event.location_address }}</small>
|
||||
<a href="{{ item.event.maps_shortlink }}" target="_blank" class="btn btn-secondary btn-sm">View on Map</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user