From ffaee081c018b0e254844910fd3878f916196054 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 24 Jul 2022 15:59:52 +0200 Subject: Template paths. --- app/templates/modules/add-item.html | 2 +- app/templates/modules/customers.html | 2 +- app/templates/modules/edit-item.html | 2 +- app/templates/modules/invoice-preview.html | 2 +- app/templates/modules/invoices.html | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'app/templates/modules') diff --git a/app/templates/modules/add-item.html b/app/templates/modules/add-item.html index 4eaee3d..88780bc 100644 --- a/app/templates/modules/add-item.html +++ b/app/templates/modules/add-item.html @@ -6,7 +6,7 @@ {% block title %}Add {{ table }} item{% endblock %} {% block content %} -
+
Add a new item to our {{ table }} table. {% for field in form %} diff --git a/app/templates/modules/customers.html b/app/templates/modules/customers.html index 64ed4c2..776ab8d 100644 --- a/app/templates/modules/customers.html +++ b/app/templates/modules/customers.html @@ -35,7 +35,7 @@ Customers {{ customer.primary_key }} {% if customer.website %} - {{ customer.name }} + {{ customer.name }} {% else %} {{ customer.name }} {% endif %} diff --git a/app/templates/modules/edit-item.html b/app/templates/modules/edit-item.html index 194aa77..16cb686 100644 --- a/app/templates/modules/edit-item.html +++ b/app/templates/modules/edit-item.html @@ -6,7 +6,7 @@ {% block title %}Edit {{ table }} item{% endblock %} {% block content %} - +
Edit item #{{ pk }} in our {{ table }} table. {% for field in form %} diff --git a/app/templates/modules/invoice-preview.html b/app/templates/modules/invoice-preview.html index f86f9a2..7dc2774 100644 --- a/app/templates/modules/invoice-preview.html +++ b/app/templates/modules/invoice-preview.html @@ -6,7 +6,7 @@ - Invoice preview for {{ invoice.customer.name }} + invoice {{ invoice.date_billed }} for {{ invoice.customer.name }} {{ invoice.primary_key }} diff --git a/app/templates/modules/invoices.html b/app/templates/modules/invoices.html index 9e8f765..9ff08e6 100644 --- a/app/templates/modules/invoices.html +++ b/app/templates/modules/invoices.html @@ -56,9 +56,9 @@ Invoices {% for invoice in invoices.items %} - - - +
-- cgit v1.2.3