mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +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' %}
|
||||
<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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user