home ยป zplus/freepost.git
ID: 70d6bd240d74dc9b41d18dedf11bed07d986c7ef
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>
            <hr/>
        {% endfor %}

    </div>
        
{% endblock %}