diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-10-18 12:06:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 12:06:42 +0200 |
commit | 64f1ad9381672619c8d449ef32377b0fa0c11eff (patch) | |
tree | 7d726a502be8538955f86ab3f1946c5afa231de0 /apps | |
parent | 130535b316b850e15991013e58504c3950f1e6fe (diff) | |
parent | 126444d5a64d2e6495eafd2edfe7cc056f34f415 (diff) | |
download | nextcloud-server-64f1ad9381672619c8d449ef32377b0fa0c11eff.tar.gz nextcloud-server-64f1ad9381672619c8d449ef32377b0fa0c11eff.zip |
added documentation links on settings pages (#17585)
added documentation links on settings pages
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/templates/settings.php | 3 | ||||
-rw-r--r-- | apps/settings/templates/settings/admin/overview.php | 3 | ||||
-rw-r--r-- | apps/settings/templates/settings/admin/security.php | 1 | ||||
-rw-r--r-- | apps/theming/templates/settings-admin.php | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index f94900dccde..45d4ac8406c 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -97,7 +97,8 @@ </div> <form data-can-create="<?php echo $canCreateMounts?'true':'false' ?>" id="files_external" class="section" data-encryption-enabled="<?php echo $_['encryptionEnabled']?'true': 'false'; ?>"> - <h2 data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2> + <h2 class="inlineblock" data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2> + <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-external-storage')); ?>"></a> <p class="settings-hint"><?php p($l->t('External storage enables you to mount external storage services and devices as secondary Nextcloud storage devices. You may also allow users to mount their own external storage services.')); ?></p> <?php if (isset($_['dependencies']) and ($_['dependencies'] !== '') and $canCreateMounts) print_unescaped(''.$_['dependencies'].''); ?> <table id="externalStorage" class="grid" data-admin='<?php print_unescaped(json_encode($_['visibilityType'] === BackendService::VISIBILITY_ADMIN)); ?>'> 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> diff --git a/apps/theming/templates/settings-admin.php b/apps/theming/templates/settings-admin.php index 5a73eb02535..d7de5b75053 100644 --- a/apps/theming/templates/settings-admin.php +++ b/apps/theming/templates/settings-admin.php @@ -28,6 +28,7 @@ style('theming', 'settings-admin'); ?> <div id="theming" class="section"> <h2 class="inlineblock"><?php p($l->t('Theming')); ?></h2> + <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-theming')); ?>"></a> <p class="settings-hint"><?php p($l->t('Theming makes it possible to easily customize the look and feel of your instance and supported clients. This will be visible for all users.')); ?></p> <div id="theming_settings_status"> <div id="theming_settings_loading" class="icon-loading-small" style="display: none;"></div> |