Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix 3485 queue table performance hotfix #749

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
fix(ZMS-3485): fix merging custom template
  • Loading branch information
manjencic committed Dec 20, 2024
commit 21b703715b81396fd2ac7c5136cb4b0758a61834
13 changes: 8 additions & 5 deletions zmsadmin/templates/block/queue/table.twig
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 181,21 @@
</div>

<div class="table-responsive-wrapper">
<h2 class="accordion">
<h2 class="accordion {{ showCalledList ? 'active' : '' }}" id="called-appointments">
<span class="color-green">
<i class="fas fa-play-circle" aria-hidden="true"></i>
</span>
Offene Aufrufe ({{ clusterQueueListCalled|length }})
Offene Aufrufe
{% if showCalledList %}
({{ queueListCalled|length }})
{% endif %}
<span class="accordion-icon">
<i class="fas fa-angle-down icon-down" aria-hidden="true"></i>
<i class="fas fa-angle-up icon-up" aria-hidden="true"></i>
</span>
</h2>
<div class="table-responsive-wrapper accordion-panel">
{% if clusterQueueListCalled|length %}
<div class="table-responsive-wrapper accordion-panel" style="{{ showCalledList ? 'display:block;' : '' }}">
{% if queueListCalled|length %}
<table id="table-called-appointments" class="table--base compact">
<thead>
<tr>
Expand All @@ -208,7 211,7 @@
</tr>
</thead>
{% set lfdnr = 0 %}
{% for item in clusterQueueListCalled %}
{% for item in queueListCalled %}
{% set lfdnr = lfdnr 1 %}
<tr class="parked">
<td>
Expand Down
Loading