mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-27 02:43:01 +00:00
34 lines
899 B
HTML
34 lines
899 B
HTML
|
{% load render_table from django_tables2 %}
|
||
|
{% load i18n %}
|
||
|
|
||
|
<div class="card">
|
||
|
<div class="card-header text-center">
|
||
|
<h4>{{ object.name }}</h4>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="card-body">
|
||
|
{{ object.description }}
|
||
|
</div>
|
||
|
|
||
|
<div class="card-footer text-center">
|
||
|
<a class="btn btn-primary btn-sm my-1" href="{% url 'wei:update_bus' pk=object.pk %}">{% trans "Edit" %}</a>
|
||
|
<a class="btn btn-primary btn-sm my-1" href="{% url 'wei:add_team' pk=object.pk %}">{% trans "Add team" %}</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
{% if teams.data or True %}
|
||
|
<div class="card">
|
||
|
<div class="card-header position-relative" id="clubListHeading">
|
||
|
<a class="btn btn-link stretched-link font-weight-bold">
|
||
|
<i class="fa fa-bus"></i> {% trans "Teams" %}
|
||
|
</a>
|
||
|
</div>
|
||
|
{% render_table teams %}
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
{% endif %}
|