YaleSTC/shifts

View on GitHub
app/views/calendars/schedule/_location.html.erb

Summary

Maintainability
Test Coverage
<div class="day" style="height: <%= (@table_pixels / (@table_height)) * @location_rows[location].length %>px;">
<%# Why is the div on the next line there? where does it appear?
    You can't click on the box in this column to add anything     %>
  <div class="center_container click_to_add_new" id="location<%=location.id%>_<%=day%>_label">
    <div class="center_content">
      <%= location.short_name %>
    </div>
  </div>
</div>
<div class="day" style="height: <%= @table_pixels / (@table_height) / 2 %>px;">
  <div class="center_container click_to_add_new_timeslot">
    <div class="center_content">
      timeslots
    </div>
  </div>
</div>