Skip to content

Commit

Permalink
fixed merge conflict that came from squashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav Jayaraman committed Mar 4, 2018
1 parent 484baf8 commit 663df43
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions ocfweb/main/templates/main/staff-hours.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,39 @@
<h2>Have questions? Drop by for help from a friendly volunteer staffer!</h2>
<p>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!</p>
<p>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.</p>
{% for day_in in days_of_the_week %}
{% with day_in.weekday as day_in_week %}
<div class="hour">
<div class="title">
<strong>{{day_in_week}}</strong>
</div>
{% for staff_hour in staff_hours %}
{%if staff_hour.day == day_in_week %}
<div class="hour content {% if staff_hour.cancelled or day_in.holiday != None or staff_hour.day == today and lab_status.force_lab_closed %} cancelled {% endif %}" style = "border:none">
<ul class="ocf-staffhours-faces">
<div class="hour title" style = "border:none">
<strong>{{staff_hour.time}}</strong>
{%if staff_hour.cancelled or day_in.holiday != None or staff_hour.day == today and lab_status.force_lab_closed %}
<span class = "cancelled-text"> cancelled this week </span>
<span class = "cancelled-holiday"> {{day_in | lab_holidays}} </span>
{% endif %}
</div>
{% for staffer in staff_hour.staff %}
<li>
<img alt="{{staffer.user_name}}" src="{{staffer|gravatar:100}}" />
<h4><strong> {{staffer.real_name}}</strong></h4>
<h5>{{staffer.position}}</h5>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
{% endwith %}
{% endfor %}
{% for staff_day in staff_hours %}
<div class = "day">
<div class="daytitle">
<strong><big>{{staff_day.day}}</big></strong>
{%if staff_day.holiday != None %}
<span class="cancelled-text"> {{staff_day.holiday}} </span>
{% endif %}
</div>
{% for staff_hour in staff_day.hours %}
<div class="hour {% if staff_hour.cancelled %} cancelled {% endif %}">
<div class="title">
<strong>{{staff_hour.time}}</strong>
{% if staff_hour.cancelled or lab_status.force_lab_closed and staff_day == today%}
<span class="cancelled-text"> cancelled this week</span>
{% endif %}
</div>
<div class="content">
<ul class="ocf-staffhours-faces">
{%for staffer in staff_hour.staff %}
<li>
<img alt="{{staffer.user_name}}" src="{{staffer|gravatar:100}}" />
<h4>{{staffer.real_name}}</h4>
<h5>{{staffer.position}}</h5>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</script>
<div class="col-sm-4 ocf-sidebar">
<h4>Open Computing Facility Lab</h4>
<p>{% google_map '100%' '250px' %}</p>
Expand Down

0 comments on commit 663df43

Please sign in to comment.