      {% if user.photo %}
                <img src="{{ user.photo }}" alt="{{ user.username }}" class="w-6 h-6 rounded-full object-cover mr-2" />
            {% else %}
                <span class="inline-flex items-center justify-center w-6 h-6 mr-2 rounded-full bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-300">
                    <svg class="w-3 h-3" fill="currentColor" viewBox="0 0 20 20">
                        <path d="M10 2a5 5 0 100 10a5 5 0 000-10zm-7 16a7 7 0 0114 0H3z" />
          