aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-03 09:35:42 +0000
committerMario <mario@mariovavti.com>2022-01-03 09:35:42 +0000
commitf6093872ec9792e7b43918f26400c2d7466827b3 (patch)
treeb91dab2e2c4f3c10857fdf93d287dcc00ecfc7bc /Zotlabs
parente8030e29d9b5504a51f796093f78c070bdc0c70d (diff)
downloadvolse-hubzilla-f6093872ec9792e7b43918f26400c2d7466827b3.tar.gz
volse-hubzilla-f6093872ec9792e7b43918f26400c2d7466827b3.tar.bz2
volse-hubzilla-f6093872ec9792e7b43918f26400c2d7466827b3.zip
minor usability improvement
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Lockview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Lockview.php b/Zotlabs/Module/Lockview.php
index 1fab6ff2f..ab2a492b4 100644
--- a/Zotlabs/Module/Lockview.php
+++ b/Zotlabs/Module/Lockview.php
@@ -214,7 +214,7 @@ class Lockview extends Controller {
$allowed_xchans = array_unique($allowed_xchans);
foreach ($atokens as $atoken) {
if (in_array($atoken['xchan_hash'], $allowed_xchans)) {
- $guest_access_list[] = '<div class="dropdown-item d-flex justify-content-between"><span>' . $atoken['xchan_name'] . '</span><i class="fa fa-copy p-1 cursor-pointer" title="' . sprintf(t('Copy link to this ressource for guest %s'), $atoken['xchan_name']) . '" data-token="' . $url . '?zat=' . $atoken['atoken_token'] . '" onclick="navigator.clipboard.writeText(this.dataset.token); $.jGrowl(\'' . t('Link copied to clipboard') . '\', { sticky: false, theme: \'info\', life: 3000 });"></i></div>';
+ $guest_access_list[] = '<div class="dropdown-item d-flex justify-content-between cursor-pointer" title="' . sprintf(t('Copy link to this ressource for guest %s to clipboard'), $atoken['xchan_name']) . '" data-token="' . $url . '?zat=' . $atoken['atoken_token'] . '" onclick="navigator.clipboard.writeText(this.dataset.token); $.jGrowl(\'' . t('Copied') . '\', { sticky: false, theme: \'info\', life: 1000 });"><span>' . $atoken['xchan_name'] . '</span><i class="fa fa-copy p-1"></i></div>';
}
}
}