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