mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-15 22:39:25 +00:00
Implemented #546
This commit is contained in:
@ -155,7 +155,12 @@
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div>
|
||||
{% trans %}Not subscribed{% endtrans %}
|
||||
{% if profile.was_subscribed %}
|
||||
{% set duration = profile.last_subscription_since() %}
|
||||
{% trans y=duration[0], m=duration[1], d=duration[2], date=profile.last_subscription_date %}Not subscribed for {{ y }} year(s) {{ m }} month(s) {{ d }} day(s) ({{ date }}){% endtrans %}
|
||||
{% else %}
|
||||
{% trans %}Never subscribed{% endtrans %}
|
||||
{% endif %}
|
||||
{% if user.is_board_member %}
|
||||
<a href="{{ url('subscription:subscription') }}?member={{ profile.id }}">{% trans %}New subscription{% endtrans
|
||||
%}</a>
|
||||
|
Reference in New Issue
Block a user