diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-20 18:40:13 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-23 18:19:13 +0100 |
commit | c2ccaf000a9ee899f38735444e1d8435b088fe95 (patch) | |
tree | b94568e3e1cd02a2428b68f1583d718800cbe966 | |
parent | a9b4f0d8429dbeb612e80b168b6146890bb7843e (diff) | |
download | nextcloud-server-c2ccaf000a9ee899f38735444e1d8435b088fe95.tar.gz nextcloud-server-c2ccaf000a9ee899f38735444e1d8435b088fe95.zip |
add Tips & tricks section to admin settings
-rw-r--r-- | settings/css/settings.css | 8 | ||||
-rw-r--r-- | settings/templates/admin.php | 15 |
2 files changed, 21 insertions, 2 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 0716cd24938..7e3a3940905 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -386,3 +386,11 @@ doesnotexist:-o-prefocus, .strengthify-wrapper { font-weight: normal; margin-top: 5px; } + +#admin-tips li { + list-style: initial; +} +#admin-tips li a { + display: inline-block; + padding: 3px 0; +} diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 23c3a36e28c..e24b51368dd 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -111,7 +111,7 @@ if ($_['databaseOverload']) { </strong> </p> <p> - <?php p($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?> + <?php print_unescaped($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\', or see the <a target="_blank" href="%s">documentation ↗</a>.', link_to_docs('admin-db-conversion') )); ?> </p> </div> @@ -228,7 +228,7 @@ if ($_['cronErrors']) { <ul class="errors hidden"></ul> <div class="hint hidden"> <span class="setupwarning"><?php - print_unescaped($l->t('Please double check the <a href="%s">installation guides</a>, and check for any errors or warnings in the <a href="#log-section">log</a>.', \OC_Helper::linkToDocs('admin-install'))); + print_unescaped($l->t('Please double check the <a target="_blank" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="#log-section">log</a>.', link_to_docs('admin-install'))); ?></span> </div> </div> @@ -491,6 +491,17 @@ if ($_['cronErrors']) { <?php endif; ?> </div> +<div class="section" id="admin-tips"> + <h2><?php p($l->t('Tips & tricks'));?></h2> + <ul> + <li><a target="_blank" href="<?php p(link_to_docs('admin-backup')); ?>"><?php p($l->t('How to do backups'));?> ↗</a></li> + <li><a target="_blank" href="<?php p(link_to_docs('admin-monitoring')); ?>"><?php p($l->t('Advanced monitoring'));?> ↗</a></li> + <li><a target="_blank" href="<?php p(link_to_docs('admin-performance')); ?>"><?php p($l->t('Performance tuning'));?> ↗</a></li> + <li><a target="_blank" href="<?php p(link_to_docs('admin-config')); ?>"><?php p($l->t('Improving the config.php'));?> ↗</a></li> + <li><a target="_blank" href="<?php p(link_to_docs('developer-theming')); ?>"><?php p($l->t('Theming'));?> ↗</a></li> + </ul> +</div> + <div class="section"> <h2><?php p($l->t('Version'));?></h2> <strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?> |