]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add more hints to settings 4540/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 26 Apr 2017 20:43:58 +0000 (22:43 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 26 Apr 2017 20:43:58 +0000 (22:43 +0200)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
apps/federatedfilesharing/templates/settings-admin.php
apps/federatedfilesharing/templates/settings-personal.php
apps/files_external/appinfo/app.php
apps/files_external/css/settings.css
apps/workflowengine/templates/admin.php
settings/templates/personal.php

index 7343a867d5344e1ea01eead91e36f04b1f4537c8..ff5cb0084e58c54c38ad8949031606f3ba533ef1 100644 (file)
@@ -9,6 +9,8 @@ script('federatedfilesharing', 'settings-admin');
        <a target="_blank" rel="noreferrer" class="icon-info svg"
                title="<?php p($l->t('Open documentation'));?>"
                href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
+       <p class="settings-hint"><?php p($l->t('Adjust how people can share between servers.')); ?></p>
+
        <p>
                <input type="checkbox" name="outgoing_server2server_share_enabled" id="outgoingServer2serverShareEnabled" class="checkbox"
                           value="1" <?php if ($_['outgoingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
index 98a1cd7f751f9603b3ce6c436224ba5a6c679b44..126daae27d06be4db4dd8886e4c839b32ac5902f 100644 (file)
@@ -8,6 +8,7 @@ style('federatedfilesharing', 'settings-personal');
 <?php if ($_['outgoingServer2serverShareEnabled']): ?>
        <div id="fileSharingSettings" class="section">
                <h2><?php p($l->t('Federated Cloud')); ?></h2>
+               <p class="settings-hint"><?php p($l->t('You can share with anyone who uses Nextcloud, ownCloud or Pydio! Just put their Federated Cloud ID in the share dialog. It looks like person@cloud.example.com')); ?></p>
 
                <p>
                        <?php p($l->t('Your Federated Cloud ID:')); ?>
@@ -19,7 +20,7 @@ style('federatedfilesharing', 'settings-personal');
 
                <?php if ($_['showShareIT']) {?>
                <p>
-                       <?php p($l->t('Share it:')); ?><br>
+                       <?php p($l->t('Share it so your friends can share files with you:')); ?><br>
                        <button class="social-facebook pop-up"
                                        data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'>
                                Facebook
index 925596198cf4aa9b148b8480d54133c70c862f8c..ddf609129f69ff9c4c7b64d33f483ad19abc1726 100644 (file)
@@ -44,7 +44,7 @@ $appContainer = \OC_Mount_Config::$app->getContainer();
                'appname' => 'files_external',
                'script' => 'list.php',
                'order' => 30,
-               'name' => $l->t('External storage'),
+               'name' => $l->t('External storages'),
        ];
 });
 
index 38e497eebe69c811dc7ddd416d6335c258db3682..610bc2f0e6b8f059c5d8f07b09d36adb6c8054b4 100644 (file)
@@ -1,6 +1,5 @@
 #global_credentials {
        padding: 0 30px;
-       margin-bottom: 0px;
 }
 
 #files_external {
index 500300f93b36aa1211d82774aca3de891b0454cc..4f4dab4043f503f9ae659b6380bf0dcde11cc0c8 100644 (file)
@@ -24,7 +24,6 @@
 ?>
 <div id="<?php p($_['appid']); ?>" class="section workflowengine">
        <h2 class="inlineblock"><?php p($_['heading']); ?></h2>
-
        <?php if (!empty($_['docs'])): ?>
                <a target="_blank" rel="noreferrer" class="icon-info svg"
                   title="<?php p($l->t('Open documentation'));?>"
                </a>
        <?php endif; ?>
 
+       <?php if (!empty($_['settings-hint'])): ?>
+               <p class="settings-hint"><?php p($_['settings-hint']); ?></p>
+       <?php endif; ?>
+
        <?php if (!empty($_['description'])): ?>
                <p><?php p($_['description']); ?></p>
        <?php endif; ?>
index 20475290df2802831e54ac795f06e75f911a9d52..7854ea31721c3d375536039d3ab0dee11ee32c05 100644 (file)
@@ -273,7 +273,7 @@ if($_['passwordChangeSupported']) {
 
 <div id="sessions" class="section">
        <h2><?php p($l->t('Sessions'));?></h2>
-       <span class="hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></span>
+       <p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></span>
        <table class="icon-loading">
                <thead class="token-list-header">
                        <tr>
@@ -289,7 +289,7 @@ if($_['passwordChangeSupported']) {
 
 <div id="apppasswords" class="section">
        <h2><?php p($l->t('App passwords'));?></h2>
-       <p><?php p($l->t('Passcodes that give an app or device permissions to access your account.'));?></p>
+       <p class="settings-hint"><?php p($l->t('Here you can generate individual passwords for apps so you don’t have to give out your password. You can revoke them individually too.'));?></p>
        <table class="icon-loading">
                <thead class="hidden-when-empty">
                        <tr>