Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 36 additions & 32 deletions user_profile/templates/mi_fuego/my_tickets/my_ticket.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,23 +445,25 @@ <h3>No tenés bonos para este evento</h3>
</div>
</div>
{% endif %}
{% if ticket.restriccion and (ticket.has_ingreso_anticipado or ticket.has_late_checkout) %}
<div class="d-flex align-items-center gap-2">
<i class="fas fa-utensils text-warning" style="font-size: 0.875rem;"></i>
<div class="small d-flex align-items-center gap-2 flex-wrap">
<strong class="text-warning">Restricción Alimentaria:</strong>
<select
class="form-select form-select-sm restriccion-select-ticket"
data-ticket-key="{{ ticket.key }}"
style="width: auto; display: inline-block; min-width: 150px;"
>
<option value="sin_restricciones" {% if ticket.restriccion == 'sin_restricciones' %}selected{% endif %}>Sin Restricciones</option>
<option value="vegetarian" {% if ticket.restriccion == 'vegetarian' %}selected{% endif %}>Vegetarian</option>
<option value="sin_tacc" {% if ticket.restriccion == 'sin_tacc' %}selected{% endif %}>Sin TACC</option>
<option value="particular" {% if ticket.restriccion == 'particular' %}selected{% endif %}>Particular</option>
</select>
{% if ticket.restriccion %}
{% if ticket.has_ingreso_anticipado or ticket.has_late_checkout %}
<div class="d-flex align-items-center gap-2">
<i class="fas fa-utensils text-warning" style="font-size: 0.875rem;"></i>
<div class="small d-flex align-items-center gap-2 flex-wrap">
<strong class="text-warning">Restricción Alimentaria:</strong>
<select
class="form-select form-select-sm restriccion-select-ticket"
data-ticket-key="{{ ticket.key }}"
style="width: auto; display: inline-block; min-width: 150px;"
>
<option value="sin_restricciones" {% if ticket.restriccion == 'sin_restricciones' %}selected{% endif %}>Sin Restricciones</option>
<option value="vegetarian" {% if ticket.restriccion == 'vegetarian' %}selected{% endif %}>Vegetarian</option>
<option value="sin_tacc" {% if ticket.restriccion == 'sin_tacc' %}selected{% endif %}>Sin TACC</option>
<option value="particular" {% if ticket.restriccion == 'particular' %}selected{% endif %}>Particular</option>
</select>
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
{% endif %}
Expand Down Expand Up @@ -642,23 +644,25 @@ <h3>No tenés bonos para este evento</h3>
</div>
</div>
{% endif %}
{% if ticket.restriccion and (ticket.has_ingreso_anticipado or ticket.has_late_checkout) %}
<div class="d-flex align-items-center gap-2">
<i class="fas fa-utensils text-warning" style="font-size: 0.875rem;"></i>
<div class="small d-flex align-items-center gap-2 flex-wrap">
<strong class="text-warning">Restricción Alimentaria:</strong>
<select
class="form-select form-select-sm restriccion-select-ticket"
data-ticket-key="{{ ticket.key }}"
style="width: auto; display: inline-block; min-width: 150px;"
>
<option value="sin_restricciones" {% if ticket.restriccion == 'sin_restricciones' %}selected{% endif %}>Sin Restricciones</option>
<option value="vegetarian" {% if ticket.restriccion == 'vegetarian' %}selected{% endif %}>Vegetarian</option>
<option value="sin_tacc" {% if ticket.restriccion == 'sin_tacc' %}selected{% endif %}>Sin TACC</option>
<option value="particular" {% if ticket.restriccion == 'particular' %}selected{% endif %}>Particular</option>
</select>
{% if ticket.restriccion %}
{% if ticket.has_ingreso_anticipado or ticket.has_late_checkout %}
<div class="d-flex align-items-center gap-2">
<i class="fas fa-utensils text-warning" style="font-size: 0.875rem;"></i>
<div class="small d-flex align-items-center gap-2 flex-wrap">
<strong class="text-warning">Restricción Alimentaria:</strong>
<select
class="form-select form-select-sm restriccion-select-ticket"
data-ticket-key="{{ ticket.key }}"
style="width: auto; display: inline-block; min-width: 150px;"
>
<option value="sin_restricciones" {% if ticket.restriccion == 'sin_restricciones' %}selected{% endif %}>Sin Restricciones</option>
<option value="vegetarian" {% if ticket.restriccion == 'vegetarian' %}selected{% endif %}>Vegetarian</option>
<option value="sin_tacc" {% if ticket.restriccion == 'sin_tacc' %}selected{% endif %}>Sin TACC</option>
<option value="particular" {% if ticket.restriccion == 'particular' %}selected{% endif %}>Particular</option>
</select>
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
{% endif %}
Expand Down