{% extends 'user/base.html' %} {% from 'user/_macro.html' import not_allowed %} {% block mmm -%} {% set orderby = request.args.get('orderby') %} {% set username = user.username %} {% set setting = user.setting %}
{{_('Sort:')}}
{% if topic_is_allowed %} {{ itemlist(topics,user) }} {% else %} {{ not_allowed() }} {% endif %}
{%- endblock mmm %} {% macro itemlist(topics,user) -%} {% for topic in topics.items %}
{{ topic.board.board }} {{ link.topic(topic) }}
{{_('create time:')}}{{ topic.created_at | timesince }} ยท {{ _('the last reply published by %(author)s',author=link.user(topic.author))}}
{% else %}
{{_('No Topic')}}
{% endfor %} {{ p_footer(topics,'user.topic',dict(username=user.username))}} {%- endmacro %}