{% import "components.html" as components %} {% extends "communities/base.html" %} {% block content %}
{{ macros::community_nav(community=community, selected="questions") }} {% if user and can_post %}
{{ components::create_question_form(community=community.id, is_global=true) }}
{% endif %}
{{ icon "newspaper" }} {{ text "communities:label.questions" }}
{% for question in feed %}
{{ components::question(question=question[0], owner=question[1], show_community=false) }}
{{ icon "external-link" }} {% if user %} {{ text "requests:label.answer" }} {% else %} {{ text "general:action.open" }} {% endif %} {% if user %} {% if can_manage_questions or is_helper or question[1].id == user.id %} {% endif %} {% endif %}
{% endfor %} {{ components::pagination(page=page, items=feed|length) }}
{% endblock %}