From 72920b21ad7fed3530a5bcefb4fb948a90965bc8 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Fri, 1 Aug 2025 13:17:57 +0200 Subject: [PATCH 1/2] Show external links on offering detail page --- .../organizations/service_offering_detail.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html b/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html index 184ff49..99115bc 100644 --- a/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html +++ b/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html @@ -49,6 +49,24 @@ {{ select_form }} {% endif %} + {% if service.external_links %} +
+
+
{% translate "External Links" %}
+
+ {% for link in service.external_links %} + + {{ link.title }} + + + {% endfor %} +
+
+
+ {% endif %}
{% partial service-form %}
From e0d05302b51e9364faba9f241782e0b159ded0bd Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Fri, 1 Aug 2025 13:19:03 +0200 Subject: [PATCH 2/2] Display service offering description (if any) --- .../frontend/organizations/service_offering_detail.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html b/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html index 99115bc..56dc7e2 100644 --- a/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html +++ b/src/servala/frontend/templates/frontend/organizations/service_offering_detail.html @@ -40,6 +40,13 @@
+ {% if offering.description %} +
+
+

{{ offering.description|urlize }}

+
+
+ {% endif %} {% if not has_control_planes %}

{% translate "We currently cannot offer this service, sorry!" %}

{% else %}