diff --git a/controlpanel/frontend/jinja2/tool-list.html b/controlpanel/frontend/jinja2/tool-list.html index 21cf95eb..8648aecf 100644 --- a/controlpanel/frontend/jinja2/tool-list.html +++ b/controlpanel/frontend/jinja2/tool-list.html @@ -61,7 +61,7 @@
Status:
- {% if deployment %}
+ {% if deployment and deployment.tool_id != -1 %}
{{ deployment.status | default("") }}
{% else %}
Not deployed
@@ -86,7 +86,7 @@ {{ tool_info.name }}
onclick="window.open('{{ tool_info['url'] }}', '_blank');"
rel="noopener"
target="_blank"
- {% if not deployment %} disabled {% endif %}>
+ {% if not deployment or deployment.tool_id == -1 %} disabled {% endif %}>
Open
@@ -108,11 +108,11 @@ {{ tool_info.name }}
- Your current deployment ({{ deployment.chart_name}}-{{ deployment.chart_version }}: {{ deployment.image_tag }}) - is not recognised as a current maintained tool release. You can still use it, - but it is recommended to switch to a new version from the dropdown list. + Your previous deployment ({{ deployment.chart_name}}-{{ deployment.chart_version }}: {{ deployment.image_tag }}) + is no longer maintained. You will need to deploy a new version from the dropdown list.