From cbb5a4a1cb48413c19c52164357be58611990f2a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 7 May 2025 09:32:06 +0200 Subject: [PATCH 1/3] add more prominent cta to service detail --- .../templates/services/offering_detail.html | 2 +- .../templates/services/service_detail.html | 42 ++++++++++++------- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/hub/services/templates/services/offering_detail.html b/hub/services/templates/services/offering_detail.html index a7c34cc..6951f75 100644 --- a/hub/services/templates/services/offering_detail.html +++ b/hub/services/templates/services/offering_detail.html @@ -143,7 +143,7 @@ {% endif %} - {% if offering.plans.all %} + {% if offering.plans.all %}

Available Plans

diff --git a/hub/services/templates/services/service_detail.html b/hub/services/templates/services/service_detail.html index 6de1e86..ac7f104 100644 --- a/hub/services/templates/services/service_detail.html +++ b/hub/services/templates/services/service_detail.html @@ -100,22 +100,32 @@
-
-
-

{{ service.name }}

-
-
- {% for category in service.categories.all %} - - {% endfor %} +
+
+
+
+

{{ service.name }}

+
+
+ {% for category in service.categories.all %} + + {% endfor %} +
+ {% if service.tagline %} +
+

+ "{{ service.tagline }}" +

+
+ {% endif %} +
+ +
- {% if service.tagline %} -
-

- "{{ service.tagline }}" -

-
- {% endif %}
@@ -137,7 +147,7 @@ {% endif %} -
+
{% if service.offerings.exists %}

Get it on

From c22d75fe2b6c002bad9a3114e855ae80650988f8 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 7 May 2025 09:48:17 +0200 Subject: [PATCH 2/3] style get it on buttons with csp logo as card --- .../templates/services/service_detail.html | 41 ++++++++++++++----- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/hub/services/templates/services/service_detail.html b/hub/services/templates/services/service_detail.html index ac7f104..2672e32 100644 --- a/hub/services/templates/services/service_detail.html +++ b/hub/services/templates/services/service_detail.html @@ -150,17 +150,36 @@
{% if service.offerings.exists %} -

Get it on

-

Choose one of our trusted service providers

-
- {% for offering in service.offerings.all %} - {% if not offering.cloud_provider.disable_listing %} - {{ offering.cloud_provider.name }} - {% endif %} - {% endfor %} -
+

Get it on

+

Choose one of our trusted service providers

+
+ {% for offering in service.offerings.all %} + {% if not offering.cloud_provider.disable_listing %} + + {% endif %} + {% endfor %} +
{% else %}

Contact Us About This Service

From 290c4fb63eaa5831faad47e030d4d2b034841924 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 7 May 2025 09:53:34 +0200 Subject: [PATCH 3/3] get it button on offering details --- .../templates/services/offering_detail.html | 42 ++++++++++++------- .../templates/services/service_detail.html | 2 +- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/hub/services/templates/services/offering_detail.html b/hub/services/templates/services/offering_detail.html index 6951f75..5d71aa8 100644 --- a/hub/services/templates/services/offering_detail.html +++ b/hub/services/templates/services/offering_detail.html @@ -96,23 +96,33 @@
-
-
-

Managed {{ offering.service.name }}

-
-
- {% for category in offering.service.categories.all %} - - {% endfor %} - - +
+
+
+
+

Managed {{ offering.service.name }}

+
+
+ {% for category in offering.service.categories.all %} + + {% endfor %} + + +
+ + {% if offering.short_description %} +
+ {{ offering.short_description|safe }} +
+ {% endif %} +
+ +
- - {% if offering.short_description %} -
- {{ offering.short_description|safe }} -
- {% endif %}
{% if offering.service.description %} diff --git a/hub/services/templates/services/service_detail.html b/hub/services/templates/services/service_detail.html index 2672e32..ca73351 100644 --- a/hub/services/templates/services/service_detail.html +++ b/hub/services/templates/services/service_detail.html @@ -156,7 +156,7 @@ {% for offering in service.offerings.all %} {% if not offering.cloud_provider.disable_listing %}
-