{% macro help_topics(topics, product_slug=None, new_tab=False) -%} {# topics: List of topic_data dicts containing: - topic: Topic model instance - topic_url: URL to topic page - title: Topic title - total_articles: Number of articles - image_url: URL to topic icon - documents: three documents for the topic #}
{% for topic_data in topics %} {% endfor %}
{%- endmacro %} {% macro topic_metadata(topics, product=None) %} {% if product and has_aaq_config and not settings.READ_ONLY %}

{{ _('Still need help?') }}

{% if product and product.has_ticketing_support %} {{ _('We’re here for you! If you haven’t found a solution after exploring our help articles, you can get in touch with our support team.') }} {% else %} {{ _('We’re here for you. Post a question to our support forums and get answers from our community of experts.') }} {% endif %}

{% if product and product.has_ticketing_support %} {{ _('Get Support') }} {% else %} {{ _('Ask the Community') }} {% endif %}
{% endif %} {%- endmacro %} {% macro topic_sidebar(topics, subtopics, product=None, selected_topic=None, selected_subtopic=None) -%} {% if topics %} {% endif %} {%- endmacro %} {% macro topic_tabs(topics, subtopics, product, topic, selected_subtopic=None) -%} {%- endmacro %}