diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-08-14 17:48:34 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-08-30 09:02:37 +0100 |
commit | 0e8a973579c95053845153257b1bbe185f3b84b3 (patch) | |
tree | 31d60a42b4f3f22f5a43d3904b03d593f126cff0 /apps/files_external/appinfo | |
parent | 9d6757654085dd3ec396bb9bb12af337e726cbac (diff) | |
download | nextcloud-server-0e8a973579c95053845153257b1bbe185f3b84b3.tar.gz nextcloud-server-0e8a973579c95053845153257b1bbe185f3b84b3.zip |
Improve UI of external storage configuration
* Highlight fields that need to be filled
* Remove (required) and (optional) strings where possible
* Focus first configuration field when creating new external storage
* Add ability to force external storage re-check
* Various jQuery improvements
* Prevent wrapping of checkboxes in configuration
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r-- | apps/files_external/appinfo/app.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 3b8793a075b..04c48187e37 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -62,9 +62,9 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', array( 'key' => (string)$l->t('Access Key'), 'secret' => '*'.$l->t('Secret Key'), 'bucket' => (string)$l->t('Bucket'), - 'hostname' => '&'.$l->t('Hostname (optional)'), - 'port' => '&'.$l->t('Port (optional)'), - 'region' => '&'.$l->t('Region (optional)'), + 'hostname' => '&'.$l->t('Hostname'), + 'port' => '&'.$l->t('Port'), + 'region' => '&'.$l->t('Region'), 'use_ssl' => '!'.$l->t('Enable SSL'), 'use_path_style' => '!'.$l->t('Enable Path Style')), 'has_dependencies' => true)); @@ -108,15 +108,15 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\Swift', array( 'backend' => (string)$l->t('OpenStack Object Storage'), 'priority' => 100, 'configuration' => array( - 'user' => (string)$l->t('Username (required)'), - 'bucket' => (string)$l->t('Bucket (required)'), + 'user' => (string)$l->t('Username'), + 'bucket' => (string)$l->t('Bucket'), 'region' => '&'.$l->t('Region (optional for OpenStack Object Storage)'), 'key' => '*'.$l->t('API Key (required for Rackspace Cloud Files)'), 'tenant' => '&'.$l->t('Tenantname (required for OpenStack Object Storage)'), 'password' => '*'.$l->t('Password (required for OpenStack Object Storage)'), 'service_name' => '&'.$l->t('Service Name (required for OpenStack Object Storage)'), 'url' => '&'.$l->t('URL of identity endpoint (required for OpenStack Object Storage)'), - 'timeout' => '&'.$l->t('Timeout of HTTP requests in seconds (optional)'), + 'timeout' => '&'.$l->t('Timeout of HTTP requests in seconds'), ), 'has_dependencies' => true)); |