{% include theme('row_general_queue.html') %}

{{ _('Callers Waiting') }}:

{% for caller in callers %} {% endfor %}
{{ _('Queue Caller') }} {{ _('Position') }} {{ _('Wait Time') }}
{{ caller.Position }} {{ caller.Waiting_Time }}

{{ _('Agents Paused') }}:

{% for agent in agents %} {% set status_class = '' %} {% if agent.agent_status == 'InCall' %} {% set status_class = 'row-green' %} {% elif agent.agent_status == 'free' %} {% set status_class = 'row-blue' %} {% elif agent.agent_status == 'Unavailable' %} {% set status_class = 'row-red' %} {% elif agent.agent_status == 'Busy' %} {% set status_class = 'row-yellow' %} {% elif agent.Agent_Status == 'paused' %} {% else %} {% set status_class = 'row-red' %} {% endif %} {% endfor %}
{{ _('Name') }} {{ _('Extension') }} {{ _('Calls') }} {{ _('Paused Time') }}
{{ agent.Agent_Name }} {{ agent.Agent_Extension }} {{ agent.Agent_Calls_Taken }} {{ agent.Agent_Paused_time }}

{{ _('Agents Free') }}:

{% for agent in agents %} {% set status_class = '' %} {% if agent.agent_status == 'InCall' %} {% set status_class = 'row-green' %} {% elif agent.Agent_Status == 'Not in use' %} {% set status_class = 'row-blue' %} {% elif agent.agent_status == 'Unavailable' %} {% set status_class = 'row-red' %} {% elif agent.agent_status == 'Busy' %} {% set status_class = 'row-yellow' %} {% elif agent.agent_status == 'InUse' %} {% set status_class = 'row-pink' %} {% else %} {% set status_class = 'row-red' %} {% endif %} {% endfor %}
{{ _('Name') }} {{ _('Extension') }} {{ _('Calls') }} {{ _('Last call at') }}
{{ agent.Agent_Name }} {{ agent.Agent_Extension }} {{ agent.Agent_Calls_Taken }} {{ agent.Agent_Last_Call }}

{{ _('Agents InCall') }}:

{% for agent in agents %} {% set status_class = '' %} {% if agent.Agent_Status == 'in call' %} {% set status_class = 'row-green' %} {% elif agent.agent_status == 'free' %} {% set status_class = 'row-blue' %} {% elif agent.agent_status == 'Unavailable' %} {% set status_class = 'row-red' %} {% elif agent.agent_status == 'Busy' %} {% set status_class = 'row-yellow' %} {% elif agent.agent_status == 'InUse' %} {% set status_class = 'row-pink' %} {% else %} {% set status_class = 'row-red' %} {% endif %} {% endfor %}
{{ _('Name') }} {{ _('Extension') }} {{ _('Calls Taken') }} {{ _('Current call time') }}
{{ agent.Agent_Name }} {{ agent.Agent_Extension }} {{ agent.Agent_Calls_Taken }} {{ agent.Agent_Call_Time }}
{% include theme('footer.html') %}