Skip to content

Commit

Permalink
Add necessary conditionals to prevent overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
48ca authored and pefoley2 committed May 6, 2016
1 parent 62af21d commit a19bcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intranet/templates/eighth/signup_widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>
<span class="block-signup{% if block.is_today %} today{% endif %}" title="{% if block.current_signup_cancelled %}The activity you signed up for was cancelled. Click to change.{% else %}You {% if block.current_signup_sticky %}are stuck to this activity. Questions? Ask 8th Pd. Office{% else %}have signed up for this activity. Click to change.{% endif %}{% endif %}">
{{ block.current_signup }}
</span>
{% if block.rooms and block != last_displayed_block %}
{% if block.rooms and block != last_displayed_block and not block.is_today and not block.current_signup_cancelled %}
<span class="block-rooms">
{% for r in block.rooms %}
{{ r.formatted_name }}{% if r != block.rooms.last %}, {% endif %}
Expand Down

0 comments on commit a19bcea

Please sign in to comment.