From 663df43a7fda13251ab717eb74f49348dd66bed6 Mon Sep 17 00:00:00 2001 From: Vaibhav Jayaraman Date: Sun, 4 Mar 2018 00:57:19 -0800 Subject: [PATCH] fixed merge conflict that came from squashing --- ocfweb/main/templates/main/staff-hours.html | 63 +++++++++++---------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/ocfweb/main/templates/main/staff-hours.html b/ocfweb/main/templates/main/staff-hours.html index bada92e8a..9cd864591 100644 --- a/ocfweb/main/templates/main/staff-hours.html +++ b/ocfweb/main/templates/main/staff-hours.html @@ -8,38 +8,39 @@

Have questions? Drop by for help from a friendly volunteer staffer!

OCF staff members hold regular drop-in staff hours to provide assistance with account issues or with OCF services. We're always happy to help troubleshoot account or service issues!

Keep in mind the OCF volunteers sometimes have last-minute conflicts, so it's a good idea to check this page before coming in for cancellations.

- {% for day_in in days_of_the_week %} - {% with day_in.weekday as day_in_week %} -
-
- {{day_in_week}} -
- {% for staff_hour in staff_hours %} - {%if staff_hour.day == day_in_week %} -
-
    -
    - {{staff_hour.time}} - {%if staff_hour.cancelled or day_in.holiday != None or staff_hour.day == today and lab_status.force_lab_closed %} - cancelled this week - {{day_in | lab_holidays}} - {% endif %} -
    - {% for staffer in staff_hour.staff %} -
  • - {{staffer.user_name}} -

    {{staffer.real_name}}

    -
    {{staffer.position}}
    -
  • - {% endfor %} -
-
- {% endif %} - {% endfor %} -
- {% endwith %} - {% endfor %} + {% for staff_day in staff_hours %} +
+
+ {{staff_day.day}} + {%if staff_day.holiday != None %} + {{staff_day.holiday}} + {% endif %} +
+ {% for staff_hour in staff_day.hours %} +
+
+ {{staff_hour.time}} + {% if staff_hour.cancelled or lab_status.force_lab_closed and staff_day == today%} + cancelled this week + {% endif %} +
+
+
    + {%for staffer in staff_hour.staff %} +
  • + {{staffer.user_name}} +

    {{staffer.real_name}}

    +
    {{staffer.position}}
    +
  • + {% endfor %} +
+
+
+ {% endfor %} +
+ {% endfor %} +

Open Computing Facility Lab

{% google_map '100%' '250px' %}