aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorSascha Wiswedel <sascha.wiswedel@nextcloud.com>2019-10-17 15:09:49 +0200
committerBackportbot <backportbot-noreply@rullzer.com>2019-10-18 10:07:52 +0000
commit1aea5d4540d10995d9578198336cf4b3adef77ac (patch)
treed378c015f555c0977c18d20bc72c2c81cd257b56 /settings
parent69e878dcc852e6b35c9c314e1b365044bbcc8286 (diff)
downloadnextcloud-server-1aea5d4540d10995d9578198336cf4b3adef77ac.tar.gz
nextcloud-server-1aea5d4540d10995d9578198336cf4b3adef77ac.zip
added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/settings/admin/overview.php3
-rw-r--r--settings/templates/settings/admin/security.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/settings/templates/settings/admin/overview.php b/settings/templates/settings/admin/overview.php
index cbb7e136da0..5b36f840ad0 100644
--- a/settings/templates/settings/admin/overview.php
+++ b/settings/templates/settings/admin/overview.php
@@ -28,7 +28,8 @@
?>
<div id="security-warning" class="section">
- <h2><?php p($l->t('Security & setup warnings'));?></h2>
+ <h2 class="inlineblock"><?php p($l->t('Security & setup warnings'));?></h2>
+ <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-warnings')); ?>"></a>
<p class="settings-hint"><?php p($l->t('It\'s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.'));?></p>
<div id="security-warning-state-ok" class="hidden">
diff --git a/settings/templates/settings/admin/security.php b/settings/templates/settings/admin/security.php
index 8d14ee7015a..f241912c7f3 100644
--- a/settings/templates/settings/admin/security.php
+++ b/settings/templates/settings/admin/security.php
@@ -30,6 +30,7 @@ script('settings', 'settings-admin-security');
<div id="two-factor-auth" class="section">
<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
+ <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-2fa')); ?>"></a>
<div id="two-factor-auth-settings"></div>
</div>