Yes no
This commit is contained in:
parent
55417313c0
commit
6a82a2187e
3 changed files with 5 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
<dd class="col-xl-6"><a href="{% url "member:club_detail" pk=activity.attendees_club.pk %}">{{ activity.attendees_club }}</a></dd>
|
<dd class="col-xl-6"><a href="{% url "member:club_detail" pk=activity.attendees_club.pk %}">{{ activity.attendees_club }}</a></dd>
|
||||||
|
|
||||||
<dt class="col-xl-6">{% trans 'can invite'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'can invite'|capfirst %}</dt>
|
||||||
<dd class="col-xl-6">{{ activity.activity_type.can_invite|yesno }}</dd>
|
<dd class="col-xl-6">{{ activity.activity_type.can_invite|yesno:_("yes,no,maybe") }}</dd>
|
||||||
|
|
||||||
{% if activity.activity_type.can_invite %}
|
{% if activity.activity_type.can_invite %}
|
||||||
<dt class="col-xl-6">{% trans 'guest entry fee'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'guest entry fee'|capfirst %}</dt>
|
||||||
|
|
@ -48,10 +48,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<dt class="col-xl-6">{% trans 'valid'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'valid'|capfirst %}</dt>
|
||||||
<dd class="col-xl-6">{{ activity.valid|yesno }}</dd>
|
<dd class="col-xl-6">{{ activity.valid|yesno:_("yes,no,maybe") }}</dd>
|
||||||
|
|
||||||
<dt class="col-xl-6">{% trans 'opened'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'opened'|capfirst %}</dt>
|
||||||
<dd class="col-xl-6">{{ activity.open|yesno }}</dd>
|
<dd class="col-xl-6">{{ activity.open|yesno:_("yes,no,maybe") }}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
<dd class="col-xl-6">{{ user_object.profile.address }}</dd>
|
<dd class="col-xl-6">{{ user_object.profile.address }}</dd>
|
||||||
|
|
||||||
<dt class="col-xl-6">{% trans 'paid'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'paid'|capfirst %}</dt>
|
||||||
<dd class="col-xl-6">{{ user_object.profile.paid|yesno }}</dd>
|
<dd class="col-xl-6">{{ user_object.profile.paid|yesno:_("yes,no,maybe") }}</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if user_object.note and "note.view_note"|has_perm:user_object.note %}
|
{% if user_object.note and "note.view_note"|has_perm:user_object.note %}
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
<dd class="col-xl-6">{{ object.profile.phone_number }}</dd>
|
<dd class="col-xl-6">{{ object.profile.phone_number }}</dd>
|
||||||
|
|
||||||
<dt class="col-xl-6">{% trans 'paid'|capfirst %}</dt>
|
<dt class="col-xl-6">{% trans 'paid'|capfirst %}</dt>
|
||||||
<dd class="col-xl-6">{{ object.profile.paid|yesno }}</dd>
|
<dd class="col-xl-6">{{ object.profile.paid|yesno:_("yes,no,maybe") }}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer text-center">
|
<div class="card-footer text-center">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue