{% extends 'site.html' %} {% block title %}{{ LANG.CANNED_RESPONSE }}{% endblock %} {% block content %} {% include 'filter_bar.html' %}
{% if error_msg != '' %}{{ error_message(error_msg) }}{% endif %} {% if params.1 == 'saved' %}{{ success_message(LANG.CANNED_RESPONSE_ADDED) }} {% elseif params.1 == 'updated' %}{{ success_message(LANG.CANNED_RESPONSE_UPDATED) }} {% endif %}


{{ ticketpaginator(total_pages,page,getUrl(controller,action,['canned','page','#page#'])) }} {% if canned_responses|is_array %} {% for canned in canned_responses %} {% set tdclass = (tdclass == 'trzebra'?'':'trzebra') %} {% endfor %} {% else %} {% endif %}
{{ LANG.TITLE }} {{ LANG.OPTION }}
{{ canned.title }} {% if canned.position != 1 %}{% endif %} {% if canned.position != last_position %}{% endif %}
{{ LANG.NOTHING_TO_DISPLAY }}
{% endblock %}