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-weight: bold;
|
||||
text-shadow: 2px 2px #444;
|
||||
}
|
||||
.card-link {
|
||||
color: #000 !important;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
@ -27,12 +30,11 @@
|
|||
<div class="col-md-4">
|
||||
<div class="card mb-4 box-shadow">
|
||||
<div class="card-banner">
|
||||
<img class="card-img-top" src="{% static 'img/event_placeholder.png' %}" alt="{{event.name}}">
|
||||
<p class="card-title">{{event.name}}</p>
|
||||
<img class="card-img-top" src="{% static 'img/team_placeholder.png' %}" alt="{{event.name}}">
|
||||
<p class="card-title">{{event.team.name}}</p>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-subtitle">{{ event.team.name }}</p>
|
||||
<p class="card-text">{{ event.summary }}</p>
|
||||
<p class="card-text"><strong><a class="card-link" href="{{event.get_absolute_url}}">{{event.name}}</a></strong></p>
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<small class="text-muted">{{ event.start_time }}</small>
|
||||
<div class="btn-group">
|
||||
|
|
Loading…
Reference in a new issue