summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-04-17 21:21:37 +0200
committerGitHub <noreply@github.com>2018-04-17 21:21:37 +0200
commitb7d00ff5ef1a70b0331405d4bdf3dc38fd04924e (patch)
tree62c0373782f6dd056d8964299a6a0051c4781c5c /core
parent748b51a22568b18eb22ec98f2641146e9023f0b4 (diff)
parent0d5142be7080fba001d74609676e7e1ddd5b547f (diff)
downloadnextcloud-server-b7d00ff5ef1a70b0331405d4bdf3dc38fd04924e.tar.gz
nextcloud-server-b7d00ff5ef1a70b0331405d4bdf3dc38fd04924e.zip
Merge pull request #9217 from nextcloud/show-link-trusted-domains
Show a link to the docs instead of a button on the untrusted domain page
Diffstat (limited to 'core')
-rw-r--r--core/templates/untrustedDomain.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/templates/untrustedDomain.php b/core/templates/untrustedDomain.php
index 297220c92bb..1443c412821 100644
--- a/core/templates/untrustedDomain.php
+++ b/core/templates/untrustedDomain.php
@@ -6,12 +6,8 @@
<p>
<?php p($l->t('Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.')); ?>
</p>
+ <br />
<p>
- <?php p($l->t('Depending on your configuration, this button could also work to trust the domain:')); ?>
- </p>
- <p style="text-align:center;">
- <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->getAbsoluteURL(\OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
- <?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
- </a>
+ <?php print_unescaped($l->t('Further information how to configure this can be found in the %sdocumentation%s.', ['<a href="' . $_['docUrl'] . '" target="blank">', '</a>'])); ?>
</p>
</div>