Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-31 11:17:00 +0300
committerdartcafe <github@dartcafe.de>2021-05-31 11:17:00 +0300
commit54792f08cba2d1ea95904906dca1c079243f181d (patch)
treea98752ebd40d763acdfb53a45345fb66406ec485 /src/js
parentc7de1b075636c0fd8b3725c4bc74ce31e396b415 (diff)
Add hint tooltip for parameters
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js')
-rw-r--r--src/js/components/Shares/SharesPublic.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/components/Shares/SharesPublic.vue b/src/js/components/Shares/SharesPublic.vue
index de5451a3..f64f75b5 100644
--- a/src/js/components/Shares/SharesPublic.vue
+++ b/src/js/components/Shares/SharesPublic.vue
@@ -21,7 +21,7 @@
-->
<template>
- <ConfigBox :title="t('polls', 'Public shares')" icon-class="icon-public">
+ <ConfigBox v-tooltip.auto="paramsHint" :title="t('polls', 'Public shares')" icon-class="icon-public">
<TransitionGroup :css="false" tag="div" class="shared-list">
<PublicShareItem v-for="(share) in publicShares"
:key="share.id"
@@ -68,6 +68,7 @@ export default {
successText: t('polls', 'Link copied to clipboard'),
errorText: t('polls', 'Error while copying link to clipboard'),
},
+ paramsHint: t('polls', 'Add URL-Paramters \'name=\' and/or \'email=\' to predefine name and email address. I.e. https://example.com/s/aUubZAvweQ6PaX2?name=John Doe&email=jondoe@example.org'),
}
},