2015-04-16 17:58:24 +02:00
{% extends "helpdesk/base.html" %}{% load i18n %}
2009-09-09 10:47:48 +02:00
{% block helpdesk_title %}{% trans "Add Ticket CC" %}{% endblock %}
2018-09-02 11:27:39 +02:00
{% block helpdesk_breadcrumb %}
< li class = "breadcrumb-item" >
< a href = "{% url 'helpdesk:list' %}" > {% trans "Tickets" %}< / a >
< / li >
< li class = "breadcrumb-item" >
< a href = "{% url 'helpdesk:list' %}{{ ticket.id }}/" > {{ ticket.queue.slug }}-{{ ticket.id }}< / a >
< / li >
< li class = "breadcrumb-item" >
< a href = "{% url 'helpdesk:ticket_cc' ticket.id %}" > {% trans "CC Settings" %}< / a >
< / li >
< li class = "breadcrumb-item active" > {% trans "Add CC" %}< / li >
{% endblock %}
2016-09-12 08:11:55 +02:00
{% block helpdesk_body %}
< h2 > {% trans 'Add Ticket CC' %}< / h2 >
2019-02-16 01:37:46 +01:00
< div class = "card mb-3" >
< div class = "card-header" >
< i class = "fas fa-hand-pointer" > < / i >
{% trans 'To automatically send an email to a user or e-mail address when this ticket is updated, select the user or enter an e-mail address below.' %}
< / div >
< div class = "card-body" >
<!-- Nav tabs -->
< ul class = "nav nav-tabs" >
< li class = "active" > < a href = "#EmailCC" data-toggle = "tab" > {% trans 'Email' %}< / a >
< / li >
< li > < a href = "#UserCC" data-toggle = "tab" > {% trans 'User' %}< / a >
< / li >
< / ul >
2016-09-12 08:11:55 +02:00
2019-02-16 01:37:46 +01:00
<!-- Tab panes -->
< div class = "tab-content" >
2019-12-16 15:03:07 +01:00
< div class = "tab-pane in active" id = "EmailCC" >
2019-02-16 01:37:46 +01:00
< h4 > {% trans 'Add Email' %}< / h4 >
< form method = 'post' action = './' >
< fieldset >
< dl > {% for field in form_email %}
< dt > < label for = 'id_{{ field.name }}' > {{ field.label }}< / label > < / dt >
< dd > {{ field }}< / dd >
{% if field.errors %}< dd class = 'error' > {{ field.errors }}< / dd > {% endif %}
{% if field.help_text %}< dd class = 'form_help_text' > {{ field.help_text }}< / dd > {% endif %}
{% endfor %}< / dl >
< / fieldset >
< button class = "btn btn-primary" type = 'submit' > {% trans "Save Ticket CC" %}< / button >
{% csrf_token %}< / form >
2016-09-12 08:11:55 +02:00
< / div >
2019-02-16 01:37:46 +01:00
< div class = "tab-pane fade" id = "UserCC" >
< h4 > {% trans 'Add User' %}< / h4 >
< form method = 'post' action = './' >
< fieldset >
< dl > {% for field in form_user %}
< dt > < label for = 'id_{{ field.name }}' > {{ field.label }}< / label > < / dt >
< dd > {{ field }}< / dd >
{% if field.errors %}< dd class = 'error' > {{ field.errors }}< / dd > {% endif %}
{% if field.help_text %}< dd class = 'form_help_text' > {{ field.help_text }}< / dd > {% endif %}
{% endfor %}< / dl >
< / fieldset >
< button class = "btn btn-primary" type = 'submit' > {% trans "Save Ticket CC" %}< / button >
{% csrf_token %}< / form >
< / div >
< / div >
< / div >
<!-- /.card - body -->
< / div >
<!-- /.card -->
2009-09-09 10:47:48 +02:00
{% endblock %}