~homeworkprod/byceps

ref: 0f32ddebed1f09618da28526d6702060c237cb51 byceps/byceps/blueprints/site/user_profile/templates/site/user_profile/_current_party_attendance.html -rw-r--r-- 606 bytes
0f32ddeb — Jochen Kupperschmidt Flatten package/path of user profile site blueprint 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{%- from 'macros/misc.html' import render_tag %}
{%- from 'macros/seating.html' import render_seating_area_link %}


<div class="user-profile-detail-block">
  {%- if current_party_tickets %}
  <h2>{{ 'Sitzplätze' if (current_party_tickets|length > 1) else 'Sitzplatz' }}</h2>

  <ol>
    {%- for ticket in current_party_tickets %}
    <li>{{ render_seating_area_link(ticket.occupied_seat.area, ticket.occupied_seat.label) if ticket.occupied_seat else 'nicht ausgewählt'|dim }}{% if ticket.user_checked_in %} {{ render_tag('eingecheckt') }}{% endif %}</li>
    {%- endfor %}
  </ol>
  {%- endif %}
</div>