{% extends 'thecommunity/base.html' %} {% load cache %} {% block js %} {% endblock %} {% block uncompressed_js %} {% endblock %} {% block page_title %}{{ profile_user.username }}{% endblock %} {% block body_class %}profile_page{% endblock %} {% block page_body %}
{% ifequal profile_user user %}

My Recent Activity

{% else %}

{{ profile_user.username }}'s Recent Activity

{% endifequal %} {% ifequal profile_user user %} {% if my_activity|length == 0 %} {% include 'thecommunity/profile_page/insight_templates.html' %} {% else %} {% if my_activity|length < 5 %}
{% include 'thecommunity/profile_page/insight_templates.html' with minimized=True %}
{% endif %} {% endif %} {% endifequal %}
    {% for insight in my_activity %} {% if insight.has_visualizations %} {% include 'thecommunity/profile_page/insight_visualization.html' %} {% else %} {% include 'thecommunity/profile_page/insight_data.html' %} {% endif %} {% endfor %}
{% endblock %}