view sat_templates/templates/default/forum/view.html @ 190:cda2aad3eed0

base: "links" template variable can now be used: if "links" is present in template data, it must be a list of dictionaries, the dictionaries will be used as attributes for the "<link>" elements in the header.
author Goffi <goffi@goffi.org>
date Fri, 26 Apr 2019 08:44:38 +0200
parents 178f55b825b7
children
line wrap: on
line source

{% if not embedded %}{% extends 'base/base.html' %}{% endif %}
{% set dates_format='relative' if single else 'short' %}
{% import 'blog/macros.html' as blog with context %}
{% import 'input/textbox.html' as textbox with context %}
{% import 'input/navigation.html' as navigation with context %}

{% block body %}
{{ icon_defs('angle-double-left', 'angle-double-right') }}

<div id="blog_items">
    {{ blog.show_items(items, expanded=true) }}
</div>
<div class="forum_topic_answer">
    {{- textbox.comment_or_login(service=service, node=node, placeholder=_("Enter your message here")) -}}
</div>

{{ navigation.prev_next(_("newer articles"), _("older articles")) }}
{% endblock body %}