home ยป zplus/freepost.git
ID: d9718e3829a5c5b58a63176d3436eb6918a8fc64
29 lines โ€” 1K โ€” View raw


{% extends 'layout.html' %}

{# Set variables for base layour #}
{% set active_page = 'user' %}
{% set title = '' %}

{% block content %}

    <div class="user_activity">

        {% for comment in replies %}
            
            <div>
                {{ comment.text|md2html|safe }}
                
                {# Post info #}
                <div class="info">
                    <a href="{{ url ('post', hash_id=comment.postHashId) }}#comment-{{ comment.hashId }}">read</a>
                    <a href="{{ url ('reply', hash_id=comment.hashId) }}">reply</a>
                    โ€”
                    by <a href="{{ url ("user_public", username=comment.username) }}">{{ comment.username }}</a> <time title="{{ comment.created|title }}" datetime="{{ comment.created|datetime }}"><em> {{ comment.created|ago }} </em></time> on <a href="{{ url ('post', hash_id=comment.postHashId) }}">{{ comment.postTitle }}</a>
                </div>
            </div>
            
        {% endfor %}

    </div>
        
{% endblock %}