From baaa7ab9083701d2f96d127c8797b141baeda5a1 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 28 Feb 2025 16:05:59 +0100 Subject: [PATCH] cleanup cta on service detail --- .../templates/services/service_detail.html | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/hub/services/templates/services/service_detail.html b/hub/services/templates/services/service_detail.html index 595df98..c446383 100644 --- a/hub/services/templates/services/service_detail.html +++ b/hub/services/templates/services/service_detail.html @@ -116,25 +116,22 @@ {% endif %} - {% if service.is_coming_soon %}
+ {% if service.is_coming_soon %} I'm interested in this service + {% elif service.offerings.exists %} + {% for offering in service.offerings.all %} + Get it on {{ offering.cloud_provider.name }} + {% endfor %} + {% else %} + I'm interested in this service + {% endif %}
- {% endif %} - {% if service.offerings.exists %} -
-
- {% for offering in service.offerings.all %} - Get it on {{ offering.cloud_provider.name }} - {% endfor %} -
-
- {% endif %} -