diff --git a/hub/services/templates/services/service_detail.html b/hub/services/templates/services/service_detail.html index 57bb331..161900a 100644 --- a/hub/services/templates/services/service_detail.html +++ b/hub/services/templates/services/service_detail.html @@ -1,165 +1,139 @@ {% extends 'services/base.html' %} {% block content %} -
-
-
- {% if service.logo %} - {{ service.name }} logo - {% endif %} -
-

{{ service.name }}

-
- {% for category in service.categories.all %} - {{ category.full_path }} - {% endfor %} +
+
+
+ +
+
+ +
+ {% if service.logo %} + {{ service.name }} logo + {% endif %} +
+ + + {% if service.highlights.exists %} +
+

Highlights

+ +
+ {% endif %} + + +
+

Categories

+
+ {% for category in service.categories.all %} + {{ category.full_path }} + {% endfor %} +
+
-
-
- {{ service.description|safe }} -
+ +
+
+ +
+
+

{{ service.name }}

+

by {{ service.provider.name }}

+
+
+ {{ service.short_description|safe }} +
+
- {% if service.features %} -

Features

-
- {{ service.features|safe }} -
- {% endif %} -
-
+ +
+

Overview

+
+ {{ service.description|safe }} +
+
- -
-
-

Available Offerings

-
- {% for offering in service.offerings.all %} -
-
-
-
- {% if offering.cloud_provider.logo %} - {{ offering.cloud_provider.name }} logo - {% endif %} -
-
- - {{ offering.cloud_provider.name }} - -
- {% if offering.cloud_provider.website %} - - Visit Provider Website - - {% endif %} -
-
+ + {% if service.features %} +
+

Features

+
+ {{ service.features|safe }} +
+
+ {% endif %} -
- {{ offering.description|safe|truncatewords_html:50 }} -
+ +
+

Available Offerings

+
+ {% for offering in service.offerings.all %} +
+
+
+ {% if offering.cloud_provider.logo %} + {{ offering.cloud_provider.name }} + {% endif %} +
+
+

{{ offering.description|safe|truncatewords_html:50 }}

+
- {% if offering.plans.exists %} -
-
Plans:
{% for plan in offering.plans.all %} -
-
-
{{ plan.name }}
+
+

{{ plan.name }}

+
+
    {% for price in plan.prices.all %} -
    - {{ price.currency.symbol }}{{ price.price }} {{ price.currency.code }} per {{ price.term.name }} -
    +
  • {{ price.currency.symbol }}{{ price.price }} {{ price.currency.code }} per {{ price.term.name }}
  • {% endfor %} -
+
+
{% endfor %} -
- {% endif %} - - {% if offering.status == 'available' %} - Order - {% elif offering.status == 'planned' %} - Show Interest - {% else %} - Request Information - {% endif %} - -
-
-
- {% empty %} -
-
- No offerings available yet. - Show Interest -
-
- {% endfor %} -
-
-
- - -{% if service.consulting_partners.exists %} -
-
-

Consulting Partners

-
- {% for partner in service.consulting_partners.all %} -
-
- + {% empty %} +
+
+ No offerings available yet. + Show Interest +
+
+ {% endfor %}
- {% endfor %} +
-
-{% endif %} - - -{% if service.external_links.exists %} -
-
-

Additional Information

-
- {% for link in service.external_links.all %} - - {{ link.description }} - - - {% endfor %} -
-
-
-{% endif %} +
{% endblock %} \ No newline at end of file