improve the cta offering buttons on the service detail page

This commit is contained in:
Tobias Brunner 2025-03-20 16:28:38 +01:00
parent 478ac76210
commit 1ad5c0c38c
No known key found for this signature in database

View file

@ -142,11 +142,15 @@
{% if service.offerings.exists %} {% if service.offerings.exists %}
<h3 class="fs-24 fw-semibold lh-1 mb-12">Get it on</h3> <h3 class="fs-24 fw-semibold lh-1 mb-12">Get it on</h3>
<p>Choose one of our trusted service providers</p> <p>Choose one of our trusted service providers</p>
<div class="d-flex flex-wrap gap-3">
{% for offering in service.offerings.all %} {% for offering in service.offerings.all %}
<p><a class="btn btn-primary btn-lg mr-md-17 mb-17 mb-md-0px mb-lg-17 mb-xl-0 w-100 w-md-auto" {% if not offering.cloud_provider.disable_listing %}
<a class="btn btn-primary btn-lg w-auto"
href="{% url 'services:offering_detail' offering.cloud_provider.slug offering.service.slug %}" href="{% url 'services:offering_detail' offering.cloud_provider.slug offering.service.slug %}"
role="button">{{ offering.cloud_provider.name }}</a></p> role="button">{{ offering.cloud_provider.name }}</a>
{% endif %}
{% endfor %} {% endfor %}
</div>
{% else %} {% else %}
<div class="pt-40"> <div class="pt-40">
<h3 class="fs-24 fw-semibold lh-1 mb-12">Contact Us About This Service</h3> <h3 class="fs-24 fw-semibold lh-1 mb-12">Contact Us About This Service</h3>