{% extends "layouts/base.html" %} {% block title %} {% t "store.support.title" %} | {{ block.super }} {% endblock %} {% block headertext %}{% endblock %} {% block breadcrumbs %}
{% endblock %} {% block content %}

{% t "store.support.heading" %}

{% include 'partials/form_field.html' with field=form.text nolabel=True breakpoint_col='col-sm-9 col-md-10' %}
{% if is_search %} {% if not is_search %}
{% for category in categories %}
    {% for article in category.article_set.all|slice:":2" %} {% if article.is_public %}
  • {{ article.title }}
  • {% endif %} {% endfor %}
{% endfor %}
{% else %} {% if articles %}

{% url 'customer:support-ticket-create' as create_ticket_link %} {% t "store.support.create_support_request" with link=create_ticket_link %}

{% else %}

{% t "store.support.search_not_found" %}


{% url 'customer:support-ticket-create' as create_ticket_link %} {% t "store.support.create_support_request" with link=create_ticket_link %}

{% endif %} {% endif %} {% else %} {% if top_categories %}
{% for category in top_categories %}
{{ category.name }}
    {% for article in category.article_set.all|slice:":2" %} {% if article.is_public %}
  • {{ article.title }}
  • {% endif %} {% endfor %}
{% endfor %}
{% endif %} {% if categories %}
{% for category in categories %}
{{ category.name }}
    {% for article in category.article_set.all|slice:":3" %} {% if article.is_public %}
  • {{ article.title }}
  • {% endif %} {% endfor %}
{% endfor %}
{% endif %} {% if not categories and not top_categories %}
{% t "store.support.no_categories" %}
{% endif %} {% endif %}
{% endblock content %}