aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/tagsplugin.js6
-rw-r--r--apps/files/l10n/hu.js1
-rw-r--r--apps/files/l10n/hu.json1
-rw-r--r--apps/files_sharing/css/sharetabview.scss16
-rw-r--r--apps/files_sharing/lib/Controller/ShareController.php4
5 files changed, 9 insertions, 19 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js
index 2286477750c..747a7245a56 100644
--- a/apps/files/js/tagsplugin.js
+++ b/apps/files/js/tagsplugin.js
@@ -103,17 +103,17 @@
return t('files', 'Add to favorites');
},
mime: 'all',
- order: -23,
+ order: -100,
permissions: OC.PERMISSION_READ,
iconClass: function(fileName, context) {
var $file = context.$file;
var isFavorite = $file.data('favorite') === true;
if (isFavorite) {
- return 'icon-starred';
+ return 'icon-star-dark';
}
- return 'icon-star';
+ return 'icon-starred';
},
actionHandler: function(fileName, context) {
var $favoriteMarkEl = context.$file.find('.favorite-mark');
diff --git a/apps/files/l10n/hu.js b/apps/files/l10n/hu.js
index fc6276a6e46..0c770e4a1db 100644
--- a/apps/files/l10n/hu.js
+++ b/apps/files/l10n/hu.js
@@ -16,6 +16,7 @@ OC.L10N.register(
"Not enough free space, you are uploading {size1} but only {size2} is left" : "Nincs elég szabad hely. A feltöltés mérete {size1}, de csak ennyi hely van: {size2}.",
"Target folder \"{dir}\" does not exist any more" : "A cél mappa már nem létezik: \"{dir}\"",
"Not enough free space" : "Nincs elég szabad hely",
+ "Uploading …" : "Feltöltés...",
"…" : "...",
"{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} / {totalSize} ({bitrate})",
"Actions" : "Műveletek",
diff --git a/apps/files/l10n/hu.json b/apps/files/l10n/hu.json
index 1e235bf5c47..9e7d724c06e 100644
--- a/apps/files/l10n/hu.json
+++ b/apps/files/l10n/hu.json
@@ -14,6 +14,7 @@
"Not enough free space, you are uploading {size1} but only {size2} is left" : "Nincs elég szabad hely. A feltöltés mérete {size1}, de csak ennyi hely van: {size2}.",
"Target folder \"{dir}\" does not exist any more" : "A cél mappa már nem létezik: \"{dir}\"",
"Not enough free space" : "Nincs elég szabad hely",
+ "Uploading …" : "Feltöltés...",
"…" : "...",
"{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} / {totalSize} ({bitrate})",
"Actions" : "Műveletek",
diff --git a/apps/files_sharing/css/sharetabview.scss b/apps/files_sharing/css/sharetabview.scss
index cb2bb463352..880226e7d14 100644
--- a/apps/files_sharing/css/sharetabview.scss
+++ b/apps/files_sharing/css/sharetabview.scss
@@ -41,17 +41,6 @@
padding: 18px 0 18px 36px;
}
-/* fix clickable area because in the share tab popover the label is inside the actual menu item*/
-#shareWithList .popovermenu .shareOption {
- padding-right: 0 !important;
-}
-/* fix clickable area because in the share tab popover the label is inside the actual menu item*/
-.shareTabView .popovermenu label {
- width: 100%;
- display: inline-block;
- padding: 0 10px 0 0 !important;
-}
-
.shareTabView label {
white-space: nowrap;
}
@@ -100,11 +89,6 @@
opacity: .5;
}
-#shareWithList .shareOption.menuitem > label:before {
- /* Checkboxes positionning */
- margin: 0 12px !important;
-}
-
#shareWithList .unshare {
padding: 1px 6px;
vertical-align: text-bottom;
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php
index ed9ad33417a..700ac220804 100644
--- a/apps/files_sharing/lib/Controller/ShareController.php
+++ b/apps/files_sharing/lib/Controller/ShareController.php
@@ -458,6 +458,10 @@ class ShareController extends Controller {
if ($files_list === null) {
$files_list = [$files];
}
+ // Just in case $files is a single int like '1234'
+ if (!is_array($files_list)) {
+ $files_list = [$files_list];
+ }
}
$userFolder = $this->rootFolder->getUserFolder($share->getShareOwner());