From c2ccaf000a9ee899f38735444e1d8435b088fe95 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt
Date: Fri, 20 Mar 2015 18:40:13 +0100
Subject: add Tips & tricks section to admin settings
---
settings/css/settings.css | 8 ++++++++
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']) {
- t('To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?>
+ t('To migrate to another database use the command line tool: \'occ db:convert-type\', or see the documentation ↗.', link_to_docs('admin-db-conversion') )); ?>
@@ -228,7 +228,7 @@ if ($_['cronErrors']) {
t('Please double check the installation guides, and check for any errors or warnings in the log.', \OC_Helper::linkToDocs('admin-install')));
+ print_unescaped($l->t('Please double check the installation guides ↗, and check for any errors or warnings in the log.', link_to_docs('admin-install')));
?>
@@ -491,6 +491,17 @@ if ($_['cronErrors']) {
+
+
t('Tips & tricks'));?>
+
+
+
t('Version'));?>
getTitle()); ?>
--
cgit v1.2.3