summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorSascha Wiswedel <sascha.wiswedel@nextcloud.com>2019-10-17 15:09:49 +0200
committerSascha Wiswedel <sascha.wiswedel@nextcloud.com>2019-10-17 15:09:49 +0200
commit126444d5a64d2e6495eafd2edfe7cc056f34f415 (patch)
tree567af8ad056c85bd85d5ab74a6fc4abbb546d4f9 /apps/settings/templates
parent9f2d15ad5ce0e011de2594c7993714c3001c8c47 (diff)
downloadnextcloud-server-126444d5a64d2e6495eafd2edfe7cc056f34f415.tar.gz
nextcloud-server-126444d5a64d2e6495eafd2edfe7cc056f34f415.zip
added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/admin/overview.php3
-rw-r--r--apps/settings/templates/settings/admin/security.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/overview.php b/apps/settings/templates/settings/admin/overview.php
index cbb7e136da0..5b36f840ad0 100644
--- a/apps/settings/templates/settings/admin/overview.php
+++ b/apps/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/apps/settings/templates/settings/admin/security.php b/apps/settings/templates/settings/admin/security.php
index 7d528818e42..0e32399f325 100644
--- a/apps/settings/templates/settings/admin/security.php
+++ b/apps/settings/templates/settings/admin/security.php
@@ -30,6 +30,7 @@ script('settings', 'vue-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>