get it button on offering details
All checks were successful
Build and Deploy / build (push) Successful in 39s
Build and Deploy / deploy (push) Successful in 5s

This commit is contained in:
Tobias Brunner 2025-05-07 09:53:34 +02:00
parent c22d75fe2b
commit 290c4fb63e
No known key found for this signature in database
2 changed files with 27 additions and 17 deletions

View file

@ -96,7 +96,9 @@
<div class="col-12 col-lg-9">
<div class="pr-lg-32">
<!-- Header -->
<div class="pt-60 pb-lg-60 w-lg-70">
<div class="pt-60 pb-lg-60">
<div class="row">
<div class="col-lg-8">
<header>
<h2 class="fs-50 fw-semibold lh-1 mb-12"><a href="{{ offering.service.get_absolute_url }}" class="text-decoration-none">Managed {{ offering.service.name }}</a></h2>
</header>
@ -115,6 +117,14 @@
{% endif %}
</div>
<div class="col-lg-4 d-flex align-items-center justify-content-lg-end mt-4 mt-lg-0">
<a href="#plans" class="btn btn-primary btn-lg px-4 py-2 fw-semibold d-flex align-items-center">
<i class="bi bi-cart me-2"></i>Get It
</a>
</div>
</div>
</div>
{% if offering.service.description %}
<!-- Service Overview -->
<div>

View file

@ -156,7 +156,7 @@
{% for offering in service.offerings.all %}
{% if not offering.cloud_provider.disable_listing %}
<div class="col">
<a href="{% url 'services:offering_detail' offering.cloud_provider.slug offering.service.slug %}"
<a href="{% url 'services:offering_detail' offering.cloud_provider.slug offering.service.slug %}#plans"
class="text-decoration-none" style="display: block;">
<div class="card h-100 clickable-card">
<div class="card-body text-center">