feat: use proper cotton boolean for removing padding on empty msg

This commit is contained in:
Herculino Trotta
2024-11-30 17:12:12 -03:00
parent 8331b3f7d4
commit 28c8a961bc
11 changed files with 11 additions and 11 deletions

View File

@@ -54,7 +54,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No account groups" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No account groups" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -63,7 +63,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No accounts" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No accounts" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -58,7 +58,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No categories" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No categories" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -6,4 +6,4 @@
<p class="tw-text-gray-500">{{ subtitle }}</p>
</div>
</div>
</div>
</div>

View File

@@ -56,7 +56,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No currencies" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No currencies" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -121,7 +121,7 @@
{% else %}
<c-msg.empty
title="{% translate 'No entries for this DCA' %}"
subtitle="{% translate "Try adding one" %}" :remove-padding="True"></c-msg.empty>
subtitle="{% translate "Try adding one" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -48,7 +48,7 @@
</table>
</div>
{% else %}
<c-msg.empty title="{% translate "No exchange rates" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No exchange rates" %}" remove-padding></c-msg.empty>
{% endif %}
{% if page_obj.has_other_pages %}

View File

@@ -73,6 +73,6 @@
</table>
</div>
{% else %}
<c-msg.empty title="{% translate "No installment plans" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No installment plans" %}" remove-padding></c-msg.empty>
{% endif %}
</div>

View File

@@ -109,6 +109,6 @@
</table>
</div>
{% else %}
<c-msg.empty title="{% translate "No recurring transactions" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No recurring transactions" %}" remove-padding></c-msg.empty>
{% endif %}
</div>

View File

@@ -67,7 +67,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No rules" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No rules" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>

View File

@@ -54,7 +54,7 @@
</tbody>
</table>
{% else %}
<c-msg.empty title="{% translate "No tags" %}" :remove-padding="True"></c-msg.empty>
<c-msg.empty title="{% translate "No tags" %}" remove-padding></c-msg.empty>
{% endif %}
</div>
</div>