* refactors/renames folders and files for generic template rendering
* removes unused choiceColumnForm.html
This commit is contained in:
mipel
2021-10-06 16:15:40 +02:00
parent 3842bcf0b1
commit 0e839f5e44
18 changed files with 26 additions and 31 deletions

View File

@@ -240,7 +240,7 @@ class EcoAccountTable(BaseTable):
"""
value_total, value_relative = record.get_available_rest()
html = render_to_string("konova/custom_widgets/progressbar.html", {"value": value_relative})
html = render_to_string("konova/widgets/progressbar.html", {"value": value_relative})
return format_html(html)
def render_r(self, value, record: EcoAccount):

View File

@@ -35,7 +35,7 @@
<td class="align-middle">
{{available_total|floatformat:2}} / {{obj.deductable_surface|default_if_none:0.00|floatformat:2}} m²
{% with available as value %}
{% include 'konova/custom_widgets/progressbar.html' %}
{% include 'konova/widgets/progressbar.html' %}
{% endwith %}
</td>
</tr>

View File

@@ -2,5 +2,5 @@
{% load i18n l10n %}
{% block body %}
{% include 'form/main_data_collapse_form.html' %}
{% include 'form/collapsable/form.html' %}
{% endblock %}