2016-02-02 15:34:36 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h3>Club</h3>
|
|
|
|
<p><a href="{{ url('club:club_list') }}">Back to list</a></p>
|
2016-02-05 15:59:42 +00:00
|
|
|
{% if can_edit(club, user) %}
|
2016-02-02 15:34:36 +00:00
|
|
|
<p><a href="{{ url('club:club_edit', club_id=club.pk) }}">Edit</a></p>
|
|
|
|
{% endif %}
|
2016-02-05 15:59:42 +00:00
|
|
|
{% if can_edit_prop(club, user) %}
|
2016-02-02 15:34:36 +00:00
|
|
|
<p><a href="{{ url('club:club_prop', club_id=club.pk) }}">Prop</a>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2016-02-05 15:59:42 +00:00
|
|
|
{% if can_view(club, user) %}
|
|
|
|
<p><a href="{{ url('club:club_members', club_id=club.pk) }}">Members</a></p>
|
|
|
|
{% endif %}
|
2016-02-02 15:34:36 +00:00
|
|
|
<h3>{{ club.name }}</h3>
|
|
|
|
<p>{{ club.address }}</p>
|
|
|
|
<ul>
|
|
|
|
{% for m in club.members.all() %}
|
|
|
|
<li>{{ m }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|