mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
2db85f60da
commit
5f434a1ac5
@ -43,10 +43,11 @@
|
|||||||
{% if platform.type == 'web' %}
|
{% if platform.type == 'web' %}
|
||||||
<td>{{ client.name }}</td>
|
<td>{{ client.name }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="btn btn-success" role="button"
|
<a target="_blank" rel="noopener noreferrer"
|
||||||
{% if not enabled %} disabled="disabled"
|
class="btn btn-success" role="button"
|
||||||
{% else %} href="{{ platform.url }}"
|
{% if not enabled %} disabled="disabled"
|
||||||
{% endif %}>
|
{% else %} href="{{ platform.url }}"
|
||||||
|
{% endif %}>
|
||||||
{% trans "Launch" %}
|
{% trans "Launch" %}
|
||||||
<span class="fa fa-external-link"></span>
|
<span class="fa fa-external-link"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user