Projet

Général

Profil

« Précédent | Suivant » 

Révision 8c246fcb

Ajouté par Jérôme Schneider il y a plus de 9 ans

agenda: fixes bottom print button on therapists agendas

Closes #5299

Voir les différences:

calebasse/agenda/templates/agenda/agendas-therapeutes.html
40 40
<span class="actions screen-only">
41 41
  <button id="uncheck-all" type="button" class="icon-uncheck screen-only">Tout décocher</button>
42 42
  <button id="check-all" type="button" style="display: none" class="icon-check screen-only">Tout cocher</button>
43
  <button id='print-button-therapeutes' class="icon-print screen-only">Imprimer</button>
43
  <button class="print-button-therapeutes icon-print screen-only">Imprimer</button>
44 44
</span>
45 45
{% for worker_agenda in workers_agenda %}
46 46
{% if worker_agenda.appointments %}
......
116 116
            }
117 117
            update_page_break();
118 118

  
119
            $('button#print-button-therapeutes').click(function() {
119
            $('button.print-button-therapeutes').click(function() {
120 120
              $('div#activity').addClass('screen-only');
121 121
              $.each($(".printable"), function(k, v) {
122 122
                if ($(v).is(':checked')) {
......
155 155
        });
156 156
    </script>
157 157

  
158
<button id='print-button' class='screen-only'>Imprimer</button>
158
    <button class="print-button-therapeutes icon-print screen-only">Imprimer</button>
159 159
{% endblock %}

Formats disponibles : Unified diff