src/Pumukit/WebTVBundle/Resources/views/Misc/people.html.twig line 1

Open in your IDE?
  1. {% set roles = sort_roles(object, true) %}
  2. {% if roles %}
  3.     {% if app.request.attributes.get('_controller') != 'Pumukit\\WebTVBundle\\Controller\\MultimediaObjectController::multimediaInfoAction' %}
  4.     <li class="list-group-item list-group-item-custom">
  5.     {% endif %}
  6.         <ul class="qa-player-roles persons">
  7.             {% for role in roles %}
  8.                 {% for person in role.people %}
  9.                     <li class="list-group-item list-group-item-custom">
  10.                         <div class="qa-player-role-{{ role.getCod() }} person">
  11.                             {{ role.getText() }}:
  12.                             {% if person.getWeb() is not empty %}
  13.                                 <a href="{{ person.getWeb() }}">{{ person.getHName() }}</a>
  14.                             {% else %}
  15.                                 {{ person.getHName() }}
  16.                             {% endif %}
  17.                         </div>
  18.                         {{ person.getInfo() }}
  19.                     </li>
  20.                 {% endfor %}
  21.             {% endfor %}
  22.         </ul>
  23.     {% if app.request.attributes.get('_route') == 'pumukit_webtv_multimediaobject_index' %}
  24.     </li>
  25.     {% endif %}
  26. {% endif %}