summaryrefslogtreecommitdiffstats
path: root/src/App.vue
diff options
context:
space:
mode:
authorJonas Sulzer <jonas@violoncello.ch>2018-11-30 09:51:48 +0100
committerJulius Härtl <jus@bitgrid.net>2018-12-03 11:07:22 +0100
commita89dc2819eeb6fb326934552954ca47e1cc61c6f (patch)
treec81b5f52988f4a36f29cf5297e34e55b57a1db06 /src/App.vue
parente1005958df4f8c15678088f31a7143116956199c (diff)
add check for .well-known/webfinger
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index c7c9355b..299d4c2e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -23,6 +23,11 @@
</p>
</form>
</template>
+ <template v-else-if="serverData.error">
+ <h2>{{ t('social', 'Social app setup') }}</h2>
+ <p>{{ t('social', '.well-known/webfinger isn\'t properly set up!') }}</p>
+ <p>{{ t('social', 'Social needs the .well-known auto discovery to be properly set up. If Nextcloud is not installed in the root of the domain it is often the case, that Nextcloud can\'t configure this automatically. To use Social the admin of this Nextcloud instance needs to manually configure the .well-known redirects: ') }}<a class="external_link" href="https://docs.nextcloud.com/server/15/go.php?to=admin-setup-well-known-URL" target="_blank" rel="noreferrer noopener">{{ t('social', 'Open Documentation') }} ↗</a></p>
+ </template>
<template v-else>
<p>{{ t('social', 'The social app requires to be setup by the server administrator.') }}</p>
</template>
@@ -57,6 +62,9 @@
#social-spacer a:focus {
border: none !important;
}
+ a.external_link {
+ text-decoration: underline;
+ }
</style>