forked from 42CTF/website
Added information about membership termination on user's profile
This commit is contained in:
parent
2d4816e78f
commit
ac61a171f7
|
@ -54,6 +54,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if member %}
|
{% 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">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 %}
|
{% else %}
|
||||||
<li class="list-group-item">Status: {% trans " Visitor" %}</li>
|
<li class="list-group-item">Status: {% trans " Visitor" %}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue