Switch team name and event name in events list cards
This commit is contained in:
parent
60516e4bb7
commit
386d757fe9
2 changed files with 6 additions and 4 deletions
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
@ -15,6 +15,9 @@
|
||||||
font-size: 18pt;
|
font-size: 18pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-shadow: 2px 2px #444;
|
text-shadow: 2px 2px #444;
|
||||||
|
}
|
||||||
|
.card-link {
|
||||||
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -27,12 +30,11 @@
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="card mb-4 box-shadow">
|
<div class="card mb-4 box-shadow">
|
||||||
<div class="card-banner">
|
<div class="card-banner">
|
||||||
<img class="card-img-top" src="{% static 'img/event_placeholder.png' %}" alt="{{event.name}}">
|
<img class="card-img-top" src="{% static 'img/team_placeholder.png' %}" alt="{{event.name}}">
|
||||||
<p class="card-title">{{event.name}}</p>
|
<p class="card-title">{{event.team.name}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-subtitle">{{ event.team.name }}</p>
|
<p class="card-text"><strong><a class="card-link" href="{{event.get_absolute_url}}">{{event.name}}</a></strong></p>
|
||||||
<p class="card-text">{{ event.summary }}</p>
|
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<small class="text-muted">{{ event.start_time }}</small>
|
<small class="text-muted">{{ event.start_time }}</small>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
|
Loading…
Reference in a new issue