diff options
author | Simon L <szaimen@e.mail.de> | 2023-03-09 10:45:08 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-03-09 11:26:09 +0000 |
commit | e6a81a692a5cc61d1135f9fde931f975edd24bdc (patch) | |
tree | a9333ba1761dd96610dde943efdd3c34ac4ada2d /apps/settings/src | |
parent | 691aa8d0257e9361bbc5a64b09cd634435dbd40a (diff) | |
download | nextcloud-server-e6a81a692a5cc61d1135f9fde931f975edd24bdc.tar.gz nextcloud-server-e6a81a692a5cc61d1135f9fde931f975edd24bdc.zip |
add a direct link from files settings to app-token-settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/AuthTokenSetupDialogue.vue | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index 9ae2915d467..e2ef0aeae5a 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -21,18 +21,20 @@ <template> <div v-if="!adding" class="row spacing"> - <!-- Port to TextField component when available --> - <input v-model="deviceName" - type="text" - :maxlength="120" - :disabled="loading" - :placeholder="t('settings', 'App name')" - @keydown.enter="submit"> - <NcButton :disabled="loading || deviceName.length === 0" - type="primary" - @click="submit"> - {{ t('settings', 'Create new app password') }} - </NcButton> + <a id="generate-app-token-section"> + <!-- Port to TextField component when available --> + <input v-model="deviceName" + type="text" + :maxlength="120" + :disabled="loading" + :placeholder="t('settings', 'App name')" + @keydown.enter="submit"> + <NcButton :disabled="loading || deviceName.length === 0" + type="primary" + @click="submit"> + {{ t('settings', 'Create new app password') }} + </NcButton> + </a> </div> <div v-else class="spacing"> {{ t('settings', 'Use the credentials below to configure your app or device.') }} |