{% extends 'layouts/index.html' %} {% block content %}
{% for user in users %}
{{ user.name }} {% with seen_text = user.get_last_seen() %} {% if seen_text == 'Online now!' %} {{ seen_text }} {% else %} {{ seen_text }} {% endif %} {% endwith %}
{{ user.username }}'s Profile Picture
{% endfor %}
{% endblock %}