feat: add open button to join link in settings
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
0159d5352a
commit
d0d7d38c03
5 changed files with 44 additions and 1 deletions
|
|
@ -186,6 +186,16 @@ defmodule MvWeb.GlobalSettingsLive do
|
|||
<.icon name="hero-clipboard-document" class="size-4" />
|
||||
{gettext("Copy")}
|
||||
</.button>
|
||||
<.link
|
||||
href={@join_url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="btn btn-secondary btn-sm"
|
||||
aria-label={gettext("Open join page URL in a new tab")}
|
||||
>
|
||||
<.icon name="hero-arrow-top-right-on-square" class="size-4" />
|
||||
{gettext("Open")}
|
||||
</.link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue