Compare commits

..

2 commits

Author SHA1 Message Date
e70c09dcee Merge pull request 'Add "open" button to instances with FQDN' (#283) from 256-open-button into main
All checks were successful
Build and Deploy Staging / build (push) Successful in 42s
Tests / test (push) Successful in 28s
Build and Deploy Staging / deploy (push) Successful in 6s
Reviewed-on: #283
2025-11-13 09:57:54 +00:00
830ebfb890 Add "open" button to instances with FQDN
All checks were successful
Tests / test (push) Successful in 27s
closes #256
2025-11-12 12:16:52 +01:00

View file

@ -7,6 +7,15 @@
{% endblock html_title %} {% endblock html_title %}
{% block page_title_extra %} {% block page_title_extra %}
<div> <div>
{% if instance.spec.parameters.service.fqdn %}
<a href="https://{{ instance.spec.parameters.service.fqdn.0 }}"
target="_blank"
rel="noopener noreferrer"
class="btn btn-success me-1 mb-1">
<i class="bi bi-box-arrow-up-right me-1"></i>
{% translate "Open" %}
</a>
{% endif %}
{% if has_change_permission %} {% if has_change_permission %}
<a href="{{ instance.urls.update }}" class="btn btn-primary me-1 mb-1">{% translate "Edit" %}</a> <a href="{{ instance.urls.update }}" class="btn btn-primary me-1 mb-1">{% translate "Edit" %}</a>
{% endif %} {% endif %}