Project

General

Profile

« Previous | Next » 

Revision f60b8635

Added by Jérôme Schneider over 11 years ago

agenda: disable recurrent event and appoinment

Enlarge appoinment dialog

View differences:

calebasse/agenda/templates/agenda/appointment.html
46 46
   </table>
47 47

  
48 48
   <hr/>
49
   <button>Configurer la périodicité</button>
49
   <!-- <button>Configurer la périodicité</button> -->
50 50

  
calebasse/agenda/templates/agenda/event.html
69 69
</table>
70 70

  
71 71
<hr/>
72
<button>Configurer la périodicité</button>
72
<!-- <button>Configurer la périodicité</button> -->
73 73

  
calebasse/static/js/calebasse.agenda.js
164 164
          var participants = $('.person-item.active').map(function (i, v) { return $(v).data('worker-id'); });
165 165
          var qs = $.param({participants: $.makeArray(participants), time: $(this).data('hour') }, true);
166 166
          var new_appointment_url = $(this).data('url') + "?" + qs;
167
          event_dialog(new_appointment_url, 'Nouveau rendez-vous', '820px', 'Ajouter');
167
          event_dialog(new_appointment_url, 'Nouveau rendez-vous', '935px', 'Ajouter');
168 168
      });
169 169
      $('.edit-appointment').click(function() {
170
          event_dialog("update-rdv/" + $(this).data('occurrence-id') , 'Modifier rendez-vous', '820px', 'Modifier');
170
          event_dialog("update-rdv/" + $(this).data('occurrence-id') , 'Modifier rendez-vous', '935px', 'Modifier');
171 171
          return false;
172 172
      });
173 173
      $('.newevent').click(function() {

Also available in: Unified diff