• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ephios-dev / ephios / 14409911505

11 Apr 2025 06:42PM UTC coverage: 83.97% (-0.01%) from 83.983%
14409911505

push

github

felixrindt
Prefetch participations for day mode of event list

Fixes #1523

3019 of 3572 branches covered (84.52%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

12266 of 14631 relevant lines covered (83.84%)

0.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.94
/ephios/plugins/baseshiftstructures/templates/baseshiftstructures/participation_card_inline.html
1
{% load guardian_tags %}
1✔
2
{% load user_extras %}
1✔
3
{% load i18n %}
1✔
4

1✔
5
{% if participation.show_participant_data %}
1✔
6

1✔
7
    <div id="participant-popover-title-{{ participation.id }}" class="d-none">
1✔
8
        <span class="text-dark pe-1">{{ participation.participant.icon }}</span>
1✔
9
        {{ participation.participant }}
1✔
10
    </div>
1✔
11

1✔
12
    <div id="participant-popover-content-{{ participation.id }}" class="d-none">
1✔
13
        {% if participation.individual_start_time or participation.individual_end_time %}
1✔
14
            <div class="mb-3">
1✔
15
                <i class="fas fa-user-clock"></i>
1✔
16
                <strong>{{ participation.get_time_display }}</strong>
1✔
17
            </div>
1✔
18
        {% endif %}
1✔
19
        {% if participation.comment %}
1✔
20
            {% if show_comments or participation == own_participation %}
1✔
21
                <div class="mb-3">
1✔
22
                    <i class="fas fa-comment"></i>
1✔
23
                    <span>{{ participation.comment }}</span>
1✔
24
                </div>
1✔
25
            {% endif %}
1✔
26
        {% endif %}
1✔
27
        <div>
1✔
28
            {% if participation.participant.is_minor %}
1✔
29
                <span class="badge bg-warning">{% translate "Minor" %}</span>
×
30
            {% endif %}
×
31
            {% for abbreviation in participation.participant.qualifications|qualifications_to_essential_abbreviations %}
1✔
32
                <span class='badge bg-secondary text-dark'>{{ abbreviation }}</span>
1✔
33
            {% endfor %}
1✔
34
        </div>
1✔
35
    </div>
1✔
36
{% endif %}
37

1✔
38

1✔
39
<a class="badge badge-participant
1✔
40
          {% if participation.state == participation.States.CONFIRMED %}bg-secondary text-dark{% else %}bg-light text-body-secondary{% endif %}
1✔
41
          {% if participation.participant.is_minor %}participation-card-minor{% endif %}
1✔
42
         "
1✔
43
   tabindex="0"
1✔
44
   {% if participation.show_participant_data %}
1✔
45
       data-bs-toggle="popover"
1✔
46
       data-bs-trigger="hover"
1✔
47
       data-bs-placement="bottom"
1✔
48
       data-html="true"
1✔
49
       data-bs-title-ref="#participant-popover-title-{{ participation.id }}"
1✔
50
       data-bs-content-ref="#participant-popover-content-{{ participation.id }}"
1✔
51
   {% endif %}
1✔
52
>
1✔
53
    {% if participation.state == participation.States.CONFIRMED %}
1✔
54
        {% if participation.has_customized_signup %}
1✔
55
            <i class="fas fa-cog"></i>
1✔
56
        {% else %}
1✔
57
            <i class="fas fa-check"></i>
1✔
58
        {% endif %}
1✔
59
    {% else %}
1✔
60
        <i class="far fa-clock"></i>
1✔
61
    {% endif %}
1✔
62
    {% if  participation.show_participant_data %}
1✔
63
        {{ participation.participant }}
1✔
64
    {% else %}
1✔
UNCOV
65
        <span class="participant-anon">{% translate "Redacted Name" context "blurred participant name" %}</span>
×
UNCOV
66
    {% endif %}
×
67
</a>
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc