Skip to content

Commit

Permalink
Change volunteer checklist items to show links in the correct order
Browse files Browse the repository at this point in the history
Fixes https://jira.magfest.net/browse/MAGDEV-348. This should really not be hard-coded into the templates, but it's a little late to fix it the right way.
  • Loading branch information
kitsuta committed Nov 14, 2018
1 parent 0e59ab8 commit 6e4d354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion uber/templates/hotel_requests/hotel_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% if c.BEFORE_ROOM_DEADLINE %}
<li>
{{ macros.checklist_image(attendee.hotel_requests) }}
{% if not attendee.placeholder and attendee.food_restrictions_filled_out and attendee.shirt_info_marked and not attendee.hotel_requests %}
{% if not attendee.placeholder and attendee.food_restrictions_filled_out and not attendee.hotel_requests %}
<a href="../hotel_requests">Tell us</a>
{% else %}
Tell us
Expand Down
2 changes: 1 addition & 1 deletion uber/templates/signups/food_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<li>
{{ macros.checklist_image(attendee.food_restrictions) }}
{% if not attendee.placeholder and attendee.shirt_info_marked %}
{% if not attendee.placeholder %}
<a href="food_restrictions">Let us know</a>
{% else %}
Let us know
Expand Down
2 changes: 1 addition & 1 deletion uber/templates/signups/shirt_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<li>
{{ macros.checklist_image(attendee.shirt_info_marked) }}
{% if not attendee.placeholder %}
{% if not attendee.placeholder and attendee.food_restrictions_filled_out and (not self.hotel_eligible or self.hotel_requests or not c.BEFORE_ROOM_DEADLINE) %}
<a href="shirt_size">Let us know</a>
{% else %}
Let us know
Expand Down

0 comments on commit 6e4d354

Please sign in to comment.