2020-03-30 23:03:30 +00:00
|
|
|
{% extends "member/noteowner_detail.html" %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
|
|
|
|
{% block profile_info %}
|
|
|
|
{% include "member/club_info.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block profile_content %}
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-10">
|
|
|
|
<div class="card card-border shadow">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5> {% trans "linked notes of club"|capfirst %} {{ club.name }}</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-body px-0 py-0" id="club_table">
|
|
|
|
{% render_table table %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-31 02:16:30 +00:00
|
|
|
{% if can_create %}
|
|
|
|
<a href="{% url 'member:club_linked_note_create' club_pk=club.pk %}">
|
|
|
|
<button class="btn btn-primary btn-block">{% trans "Add new note" %}</button>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2020-03-30 23:03:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|