Caching and refactors
This commit is contained in:
parent
67b06d7856
commit
8f1c8d6c96
33 changed files with 485 additions and 381 deletions
|
@ -13,18 +13,23 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block user_footer %}
|
||||
{% if user.user.first_name %}
|
||||
{% set profile = user.user %}
|
||||
{% if profile.first_name %}
|
||||
<div style="font-weight: 600; display: none" class="fullname gray">
|
||||
{{ user.user.first_name }}
|
||||
{{ profile.first_name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if user.user.last_name %}
|
||||
{% if profile.last_name %}
|
||||
<div class="school gray" style="display: none"><div style="font-weight: 600">
|
||||
{{- user.user.last_name -}}
|
||||
{{ profile.last_name }}
|
||||
</div></div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block user_link %}
|
||||
{{ link_user(user.user, show_image=True) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block user_data %}
|
||||
{% if user.participation.virtual %}
|
||||
<sub class="gray">[{{user.participation.virtual}}]</sub>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue