Project

General

Profile

« Previous | Next » 

Revision d5629b36

Added by Serghei Mihai over 9 years ago

agenda: fixing identifiers for hidden workers in schedule page

Closes #5345

View differences:

calebasse/agenda/templates/agenda/index.html
41 41
       {% elif worker|is_intervenant %}
42 42
       <li id="worker-{{worker.id}}" class="item intervenant worker" data-target=".worker-{{worker.id}}.agenda">{{ worker.first_name }} <span class="lastname">{{ worker.last_name }}</span>{% if not worker.services.all %} (Ext){% endif %} <span class="icon-toggle"></span></li>
43 43
       {% else %}
44
       <li id="selector-worker-{{worker.id}}" class="item worker" data-target=".worker-{{worker.id}}.agenda">{{ worker.first_name }} <span class="lastname">{{ worker.last_name }}</span>{% if not worker.services.all %} (Ext){% endif %} <span class="icon-toggle"></span></li>
44
       <li id="worker-{{worker.id}}" class="item worker" data-target=".worker-{{worker.id}}.agenda">{{ worker.first_name }} <span class="lastname">{{ worker.last_name }}</span>{% if not worker.services.all %} (Ext){% endif %} <span class="icon-toggle"></span></li>
45 45
       {% endif %}
46 46
       {% endfor %}
47 47
     </ul></dd>

Also available in: Unified diff