{% extends 'dashboard/dashboard_base.html' %} {% block stage %}

User Details

{{ user.username }}
{{ user.email }}
{% if user_profile.badges.all %}
{% for badge in user_profile.badges.all %}{{ badge.title }}{% if forloop.last %}{% else %}, {% endif %}{% endfor %}
{% endif %}
{% if user.is_active %} True{% else %}False{% endif %}
{{ user_profile.user_roles }}
User Topics Topics Liked Topics Followed
{% if user_created_topics %}

User Topics

{% for topic in user_created_topics %}
{{ topic.created_on }}
{{ topic.status }}
{{ topic.no_of_votes }}
{{ topic.no_of_down_votes }}
{% endfor %} {% else %} No Topics Available for a topic {% endif %}
{% if user_liked_topics %}

Liked Topics

{% for topic in user_liked_topics %}
{{ topic.topic.created_on }}
{{ topic.topic.status }}
{{ topic.no_of_votes }}
{{ topic.no_of_down_votes }}
{% endfor %} {% else %} User didnt like any topic {% endif %}
{% if user_followed_topics %}

Followed Topics

{% for topic in user_followed_topics %}
{{ topic.topic.created_on }}
{{ topic.followed_on }}
{{ topic.topic.status }}
{{ topic.no_of_votes }}
{{ topic.no_of_down_votes }}
{% endfor %} {% else %} User didnot Follow Any Topic {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}