]> source.dussan.org Git - nextcloud-server.git/commitdiff
added documentation links on settings pages 17588/head
authorSascha Wiswedel <sascha.wiswedel@nextcloud.com>
Thu, 17 Oct 2019 13:09:49 +0000 (15:09 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Fri, 18 Oct 2019 10:08:55 +0000 (10:08 +0000)
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
apps/files_external/templates/settings.php
apps/theming/templates/settings-admin.php
settings/templates/settings/admin/overview.php
settings/templates/settings/admin/security.php

index 1d1fcee1d8ae0497357956188adf1b8fa8b4e6eb..7cd3e849be3c2a0e48bcc007180e50b97ae334a2 100644 (file)
@@ -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)); ?>'>
index 5a73eb02535e99cc3f4db8f76de1c5c98cf0d567..d7de5b75053f083183b654a32c18a668e8f1132e 100644 (file)
@@ -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>
index cbb7e136da01561afa73857ecfbed5a7d8ac997a..5b36f840ad0176a3b7d56d870d5a1166fa87b94b 100644 (file)
@@ -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">
index 7d528818e42806513f384a88a9a2d790857b4a8b..0e32399f3250f9e8250349f48bd9726b38a48377 100644 (file)
@@ -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>