clients: Open web app in a new browser tab

The "Launch" button with its fa-external-link icon gives the impression that it
would open the web app in a new browser tab but behaves counter-intuitively by
opening it in the same tab. This commit makes the button open the link to the
web app in a new tab.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2019-03-19 19:09:12 +05:30 committed by James Valleroy
parent 2db85f60da
commit 5f434a1ac5
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -43,10 +43,11 @@
{% if platform.type == 'web' %}
<td>{{ client.name }}</td>
<td>
<a class="btn btn-success" role="button"
{% if not enabled %} disabled="disabled"
{% else %} href="{{ platform.url }}"
{% endif %}>
<a target="_blank" rel="noopener noreferrer"
class="btn btn-success" role="button"
{% if not enabled %} disabled="disabled"
{% else %} href="{{ platform.url }}"
{% endif %}>
{% trans "Launch" %}
<span class="fa fa-external-link"></span>
</a>