Added information about membership termination on user's profile

This commit is contained in:
UncleReaton 2023-04-06 11:18:59 +02:00
parent 2d4816e78f
commit ac61a171f7
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@
{% endif %}
{% if member %}
<li class="list-group-item">Status: <a class="{{ is_member }}" href="{% url 'resources:becomeMember' %}">{% trans "Member" %}</a></li>
<li class="list-group-item">{% trans "Membership ends on" %} {{ user.userprofileinfo.member_until|date:"d-m-Y" }}</li>
{% else %}
<li class="list-group-item">Status: {% trans " Visitor" %}</li>
{% endif %}