{% extends theme("user/profile_layout.html") %} {% from theme('macros.html') import render_pagination, topic_pages %} {% block breadcrumb %} {% endblock %} {% block profile_content %}
{% for post in posts.items %}
{# no attribute access in translated strings #} {% set topic_title = post.topic.title %} {% trans %}In topic {{ topic_title }}{% endtrans %}
{{ post.date_created|format_datetime }}
{{ post.content|markup }}
{% else %}
{% endfor %} {% if posts.items %}
{{ render_pagination(posts, url_for('user.view_all_posts', username=user.username)) }}
{% endif %}
{% endblock %}