Show templates even if there is just 1

This commit is contained in:
Jonathan Bobel
2024-08-13 15:06:08 -04:00
parent 0fabcabeb3
commit 9a59a09bf8

View File

@@ -1,7 +1,7 @@
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading, spark_bar_field %}
<div class="ajax-block-container">
{% if template_statistics|length > 1 %}
{% if template_statistics|length > 0 %}
<h2 class="margin-top-4 margin-bottom-1">Recent Templates</h2>
<div class='template-statistics-table table-overflow-x-auto'>
{% call(item, row_number) list_table(