Disable launch button for web client when not installed

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
manikanta varma datla authored and Joseph Nuthalapati committed 2018-08-10 20:14:52 +05:30
1 parent ad2463765a
commit 8996cf0c11
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -43,7 +43,10 @@
{% if platform.type == 'web' %}
<td>{{ client.name }}</td>
<td>
<a class="btn btn-success" href="{{ platform.url }}" role="button">
<a class="btn btn-success" role="button"
{% if not enabled %} disabled="disabled"
{% else %} href="{{ platform.url }}"
{% endif %}>
{% trans "Launch" %}
<span class="glyphicon glyphicon-new-window"></span>
</a>
+1 -1
View File
@@ -44,7 +44,7 @@
</p>
{% endif %}
{% include "clients.html" with clients=clients %}
{% include "clients.html" with clients=clients enabled=service.is_enabled %}
{% block status %}
{% if show_status_block %}