{% import "components/nothing.html" as nothing with context %} {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% if not adocs.length %} {{ nothing.render('No announce yet...') }} {% else %}
    {%- for adoc in adocs -%}
  1. {{ adoc['title'] }}

    • {{ _('{0} views').format(adoc.views) }}
    • {{ user.render_inline(udict[adoc.owner]) }}
    • {{ datetimeSpan(adoc.updateAt)|safe }}
    • {%- if adoc.hidden -%}
    • ({{ _('Hidden') }})
    • {%- endif -%}
  2. {%- endfor -%}
{% if page != undefined and apcount != undefined %} {{ paginator.render(page, apcount) }} {% endif %} {% endif %}