mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-16 15:39:21 +00:00
Change is_subscriber and was_subscriber to cached_properties
This commit is contained in:
1 parent
11e05050f7
commit
dea234f98a
10 files changed
+17
-15
No files matched your search
@@ -91,7 +91,7 @@
|
||||
<h4>{% trans %}Elections{% endtrans %}</h4>
|
||||
<ul>
|
||||
<li><a href="{{ url('election:list') }}">{% trans %}See available elections{% endtrans %}</a></li>
|
||||
{%- if user.is_subscribed() -%}
|
||||
{%- if user.is_subscribed -%}
|
||||
<li><a href="{{ url('election:create') }}">{% trans %}Create a new election{% endtrans %}</a></li>
|
||||
{%- endif -%}
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user