diff --git a/app/apps/export_app/forms.py b/app/apps/export_app/forms.py index 1f7d6ed..1581791 100644 --- a/app/apps/export_app/forms.py +++ b/app/apps/export_app/forms.py @@ -159,7 +159,7 @@ class RestoreForm(forms.Form): self.helper.form_method = "post" self.helper.layout = Layout( "zip_file", - HTML("
| - | {% translate 'Name' %} | -
|---|---|
| - - | -{{ account_group.name }} | +
| - | {% translate 'Name' %} | -{% translate 'Group' %} | -{% translate 'Currency' %} | -{% translate 'Exchange Currency' %} | -{% translate 'Is Asset' %} | -{% translate 'Archived' %} | -
|---|---|---|---|---|---|---|
|
-
-
-
-
- {% if not account.owner %}
-
-
- {% endif %}
- {% if user == account.owner %}
-
-
- {% endif %}
-
- {% if account.is_untracked_by %}
-
- {% else %}
-
- {% endif %}
-
-
- |
- {{ account.name }} | -{{ account.group.name }} | -{{ account.currency }} | -{% if account.exchange_currency %}{{ account.exchange_currency }}{% else %}-{% endif %} | -{% if account.is_asset %}{% endif %} | -{% if account.is_archived %}{% endif %} | -
| + | {% translate 'Name' %} | +{% translate 'Group' %} | +{% translate 'Currency' %} | +{% translate 'Exchange Currency' %} | +{% translate 'Is Asset' %} | +{% translate 'Archived' %} | +
|---|---|---|---|---|---|---|
|
+
+
+
+ {% if not account.owner %}
+
+
+ {% endif %}
+ {% if user == account.owner %}
+
+
+ {% endif %}
+
+ {% if account.is_untracked_by %}
+
+ {% else %}
+
+ {% endif %}
+
+
+
+ |
+ {{ account.name }} | +{{ account.group.name }} | +{{ account.currency }} | +{% if account.exchange_currency %}{{ account.exchange_currency }}{% else %}-{% endif %} | +{% if account.is_asset %}{% endif %} | +{% if account.is_archived %}{% endif %} | +
| - | {% translate 'Name' %} | -{% translate 'Muted' %} | -||||||
|---|---|---|---|---|---|---|---|---|
| - - | -{{ category.name }} | -- {% if category.mute %}{% endif %} - | +
| + | {% translate 'Name' %} | +{% translate 'Muted' %} |
|---|
{{ field.help_text|safe }}
+{{ field.help_text|safe }}
{% endif %} {% endif %} diff --git a/app/templates/crispy-daisyui/layout/switch.html b/app/templates/crispy-daisyui/layout/switch.html index 9e3c5ff..f45e63d 100644 --- a/app/templates/crispy-daisyui/layout/switch.html +++ b/app/templates/crispy-daisyui/layout/switch.html @@ -4,18 +4,14 @@ {{ field }} {% else %} <{% if tag %}{{ tag }}{% else %}fieldset{% endif %} id="div_{{ field.auto_id }}" class="fieldset mt-2 {% if wrapper_class %} {{ wrapper_class }}{% endif %}{% if field.css_classes %} {{ field.css_classes }}{% endif %}"> - {% if tag %}{{ tag }}{% else %}fieldset{% endif %}> {% endif %} diff --git a/app/templates/currencies/fragments/list.html b/app/templates/currencies/fragments/list.html index 4f2b8de..68a6303 100644 --- a/app/templates/currencies/fragments/list.html +++ b/app/templates/currencies/fragments/list.html @@ -1,15 +1,12 @@ {% load i18n %} -| @@ -56,6 +54,7 @@ {% endfor %} |
|---|
- {% trans "The straighter the blue line, the more consistent your DCA strategy is." %} -
- -+ {% trans "The straighter the blue line, the more consistent your DCA strategy is." %} +
+| - | {% translate 'Name' %} | -
|---|---|
| - - | -{{ entity.name }} | +
| - | - | {% translate 'Order' %} | -{% translate 'Name' %} | -||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| - - | -- - {% if rule.active %}{% else %} - {% endif %} - - | -
- {{ rule.order }}
- |
-
- {{ rule.name }}
- {{ rule.description }}
- |
+
| + | + | {% translate 'Order' %} | +{% translate 'Name' %} |
|---|