Add "open" button to instances with FQDN
All checks were successful
Tests / test (push) Successful in 27s
All checks were successful
Tests / test (push) Successful in 27s
closes #256
This commit is contained in:
parent
21102f30c7
commit
830ebfb890
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,15 @@
|
|||
{% endblock html_title %}
|
||||
{% block page_title_extra %}
|
||||
<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 %}
|
||||
<a href="{{ instance.urls.update }}" class="btn btn-primary me-1 mb-1">{% translate "Edit" %}</a>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue