diff --git a/campaigns/views.py b/campaigns/views.py index cdd0c92..424b52c 100644 --- a/campaigns/views.py +++ b/campaigns/views.py @@ -70,7 +70,7 @@ class CampaignDeleteView(generic.DeleteView): """ broken at the moment """ - template_name = "common/confirm_delete.html" + template_name = "common/confirm_delete.jinja" model = Campaign slug_url_kwarg = "campslug" success_url = reverse_lazy('campaigndetail') diff --git a/characters/templates/characters/detail.jinja b/characters/templates/characters/detail.jinja index 0089fab..0f3ca95 100644 --- a/characters/templates/characters/detail.jinja +++ b/characters/templates/characters/detail.jinja @@ -1,16 +1,17 @@ {% extends "tenantbase.jinja" %} +{% import "macros.jinja" as macros %} {% block content %}
- | {% translate "Item" %} | -{% translate "Quantity" %} | -{% translate "Total Value" %} | -{% translate "Claimant" %} | -{% translate "Location" %} | +{{ _("Item") }} | +{{ _("Quantity") }} | +{{ _("Total Value") }} | +{{ _("Claimant") }} | +{{ _("Location") }} | {{ l.name }} | {{ l.quantity }} | {{ l.value_gold|format_money_html }} | - {% trans 'Nobody' as nobody %} -{{ l.owner|default:nobody }} | -{{ l.location|default:"" }} | +{{ l.owner|default(_('Nobody')) }} | +{{ l.location|default("") }} |
Maybe this activation link has already been clicked before.
-{% endblock %} - diff --git a/templates/registration/activation_failed.jinja b/templates/registration/activation_failed.jinja new file mode 100644 index 0000000..b2e213a --- /dev/null +++ b/templates/registration/activation_failed.jinja @@ -0,0 +1,8 @@ +{% extends 'base.jinja' %} +{% load i18n %} + +{% block mainpage %} +{% trans %}Maybe this activation link has already been clicked before.{% endtrans %}
+{% endblock %} + diff --git a/templates/registration/login.html b/templates/registration/login.html deleted file mode 100644 index b8db056..0000000 --- a/templates/registration/login.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% load django_bootstrap5 %} -{% load static %} - - - -{% block mainpage %} -{{ next }}
.{% endblocktranslate %}
- {{ next }}
.{% endtrans %}
+