vendor/uvdesk/automation-bundle/Resources/views/tickets/quick-actions/prepared-responses.html.twig line 1

Open in your IDE?
  1. {% if user_service.isAccessAuthorized('ROLE_AGENT_APPLY_WORKFLOW') %}
  2.     <div class="uv-dropdown">
  3.         <div class="uv-dropdown-btn">{{ 'Prepared Responses'|trans }}</div>
  4.         <div class="uv-dropdown-list uv-top-left">
  5.             <div class="uv-dropdown-container prepared-responses">
  6.                 <label>{{ 'Prepared Responses'|trans }}</label>
  7.                 <ul>
  8.                     <li>
  9.                         <a class="create-new" href="{{path('prepare_response_action')}}" target="_blank" style="color: #2750C4">{{ 'Create New'|trans }}</a>
  10.                     </li>
  11.                     
  12.                     {% for preparedResponse in ticket_service.getManualWorkflow() %}
  13.                         <li>
  14.                             <a href="{{ path('helpdesk_member_ticket_prepared_response_xhr') }}/{{ ticketId }}/{{ preparedResponse.id }}">
  15.                                 {{ preparedResponse.name }}
  16.                             </a>
  17.                         </li>
  18.                     {% endfor %}
  19.                 </ul>
  20.             </div>
  21.         </div>
  22.     </div>
  23. {% endif %}