diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index bdcd2c6..0af1de6 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -1,3 +1,9 @@ +
+ <%= link_to l(:label_appointment_new, default: 'New Appointment'), + new_customer_appointment_path, + class: 'icon icon-add' %> +
+ <%= form_tag({}, data: { cm_url: issues_context_menu_path }) do %> <%= hidden_field_tag 'back_url', url_for(params: request.query_parameters), id: nil %> @@ -24,6 +30,11 @@

<%= day.day %> (<%= abbr_day_name(day.cwday) %>) + + <%= link_to sprite_icon('add'), + new_customer_appointment_path(start_date: day), + class: 'icon-only icon-add', + title: l(:label_appointment_new, default: 'New Appointment') %>

<% calendar.events_on(day).each do |event| %>