Compare commits

...

2 commits

Author SHA1 Message Date
e0d05302b5 Display service offering description (if any)
All checks were successful
Tests / test (push) Successful in 29s
2025-08-01 13:19:03 +02:00
72920b21ad Show external links on offering detail page 2025-08-01 13:17:57 +02:00

View file

@ -40,6 +40,13 @@
</div>
</div>
<div class="card-body">
{% if offering.description %}
<div class="row mb-3">
<div class="col-12">
<p>{{ offering.description|urlize }}</p>
</div>
</div>
{% endif %}
{% if not has_control_planes %}
<p>{% translate "We currently cannot offer this service, sorry!" %}</p>
{% else %}
@ -49,6 +56,24 @@
{{ select_form }}
</form>
{% endif %}
{% if service.external_links %}
<div class="row mt-3">
<div class="col-12">
<h6 class="mb-3">{% translate "External Links" %}</h6>
<div class="d-flex flex-wrap gap-2">
{% for link in service.external_links %}
<a href="{{ link.url }}"
target="_blank"
rel="noopener noreferrer"
class="btn btn-outline-primary btn-sm">
{{ link.title }}
<i class="bi bi-box-arrow-up-right ms-1"></i>
</a>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
<div id="service-form">{% partial service-form %}</div>