1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00

Fix broken 'top pages' table (#2144)

Co-authored-by: BG-Software <73077398+BG-Software-BG@users.noreply.github.com>
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
ethancrawford
2025-02-13 04:09:14 +08:00
committed by GitHub
parent f95f2509c7
commit d6a10938e3
2 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"preview": patch
---
Fix broken "top pages" table

View File

@@ -10,15 +10,15 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for page in pages %} {% for url in urls %}
<tr> <tr>
<td> <td>
<div class="progressbg"> <div class="progressbg">
{% include "ui/progress.html" value=page.bounce class="progressbg-progress" color="primary-lt" %} {% include "ui/progress.html" value=url.bounce class="progressbg-progress" color="primary-lt" %}
<div class="progressbg-text">{{ page.uri }}</div> <div class="progressbg-text">{{ url.uri }}</div>
</div> </div>
</td> </td>
<td class="w-1 fw-bold text-end">{{ page.visitors }}</td> <td class="w-1 fw-bold text-end">{{ url.visitors }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>