anchor.diff:        <td style="background: #<%= @color[calendar] %>"><%= link_to calendar.name, calendar %></td>
         <td><%=h calendar.start_date.strftime("%b %d, %Y") %></td>
         <td><%=h calendar.default? ? "never" : calendar.end_date.strftime("%b %d, %Y") %></td>
  +      <td><%=h calendar.public %></td>
         <td><%=h calendar.active %></td>
         <td><%= link_to_function "Toggle view", "$('.calendar#{calendar.id}').toggle(); $(this).parent().parent().toggleClass('disabled'); calendar_visible[#{calendar.id}] = !calendar_visible[#{calendar.id}]"%></td>
         <% unless calendar.default? or !current_user.is_admin_of?(@department) %>
  
positive.code: <% title "Calendars" %>
  <div id="AJAX_status"></div><%# to display status messages in top right corner %>
  <script>var calendar_visible = {};</script>
  <%= render :partial => 'shifts/view_preferences' %>
  
negative.code:     <th>Name</th>
      <th>Start Date</th>
      <th>End Date</th>
      <th>Public</th>
      <th>Active</th>
    </tr>
    <% for calendar in @calendars %>
  