Skip to content

Commit 75c5f06

Browse files
authored
Merge pull request #17588 from nextcloud/backport/17585/stable16
[stable16] added documentation links on settings pages
2 parents 9c0b20c + 7711585 commit 75c5f06

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

apps/files_external/templates/settings.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ function writeParameterInput($parameter, $options, $classes = []) {
9797
</div>
9898

9999
<form data-can-create="<?php echo $canCreateMounts?'true':'false' ?>" id="files_external" class="section" data-encryption-enabled="<?php echo $_['encryptionEnabled']?'true': 'false'; ?>">
100-
<h2 data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2>
100+
<h2 class="inlineblock" data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2>
101+
<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>
101102
<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>
102103
<?php if (isset($_['dependencies']) and ($_['dependencies'] !== '') and $canCreateMounts) print_unescaped(''.$_['dependencies'].''); ?>
103104
<table id="externalStorage" class="grid" data-admin='<?php print_unescaped(json_encode($_['visibilityType'] === BackendService::VISIBILITY_ADMIN)); ?>'>

apps/theming/templates/settings-admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
?>
2929
<div id="theming" class="section">
3030
<h2 class="inlineblock"><?php p($l->t('Theming')); ?></h2>
31+
<a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-theming')); ?>"></a>
3132
<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>
3233
<div id="theming_settings_status">
3334
<div id="theming_settings_loading" class="icon-loading-small" style="display: none;"></div>

settings/templates/settings/admin/overview.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
?>
2929

3030
<div id="security-warning" class="section">
31-
<h2><?php p($l->t('Security & setup warnings'));?></h2>
31+
<h2 class="inlineblock"><?php p($l->t('Security & setup warnings'));?></h2>
32+
<a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-warnings')); ?>"></a>
3233
<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>
3334

3435
<div id="security-warning-state-ok" class="hidden">

settings/templates/settings/admin/security.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
<div id="two-factor-auth" class="section">
3232
<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
33+
<a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-2fa')); ?>"></a>
3334
<div id="two-factor-auth-settings"></div>
3435
</div>
3536

0 commit comments

Comments
 (0)