From ef631acd6b175d6b3dae9ca5f97090a2a3151e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 14 Nov 2021 22:04:17 +0100 Subject: [PATCH] Add links to distributor and manufacturer website --- shimatta_kenkyusho/templates/parts/distributors-detail.html | 5 ++++- shimatta_kenkyusho/templates/parts/distributors.html | 3 +-- shimatta_kenkyusho/templates/parts/manufacturers-detail.html | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/shimatta_kenkyusho/templates/parts/distributors-detail.html b/shimatta_kenkyusho/templates/parts/distributors-detail.html index 39f49c6..525645b 100644 --- a/shimatta_kenkyusho/templates/parts/distributors-detail.html +++ b/shimatta_kenkyusho/templates/parts/distributors-detail.html @@ -15,7 +15,10 @@ {% endif %}
- + + {% if distributor.website %} + Website + {% endif %}
diff --git a/shimatta_kenkyusho/templates/parts/distributors.html b/shimatta_kenkyusho/templates/parts/distributors.html index adbf2ae..b43e00a 100644 --- a/shimatta_kenkyusho/templates/parts/distributors.html +++ b/shimatta_kenkyusho/templates/parts/distributors.html @@ -14,8 +14,7 @@ - -
+
{% include 'paginator.html' with paginator=distributors get_param='page' aria_label='Distributor Page Navigation' %} diff --git a/shimatta_kenkyusho/templates/parts/manufacturers-detail.html b/shimatta_kenkyusho/templates/parts/manufacturers-detail.html index 0f32cc6..8b3e72e 100644 --- a/shimatta_kenkyusho/templates/parts/manufacturers-detail.html +++ b/shimatta_kenkyusho/templates/parts/manufacturers-detail.html @@ -15,7 +15,10 @@ {% endif %}
- + + {% if manufacturer.website %} + Website + {% endif %}