summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-06 15:33:33 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-06 15:33:33 +0200
commite39e6a5584e04d998f75e987aef398dd572b8538 (patch)
tree390bdb8ce68c94c9e66878307821268eb8a0a507 /apps/files_external
parent710d017eec7a97c1e58ef0cd4556555cf84b9b8f (diff)
downloadnextcloud-server-e39e6a5584e04d998f75e987aef398dd572b8538.tar.gz
nextcloud-server-e39e6a5584e04d998f75e987aef398dd572b8538.zip
Fixed delete button CSS in ext storage list
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/js/mountsfilelist.js6
-rw-r--r--apps/files_external/templates/list.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/js/mountsfilelist.js b/apps/files_external/js/mountsfilelist.js
index 95b596bca8d..70b5b81e65b 100644
--- a/apps/files_external/js/mountsfilelist.js
+++ b/apps/files_external/js/mountsfilelist.js
@@ -29,14 +29,14 @@
_createRow: function(fileData) {
// TODO: hook earlier and render the whole row here
var $tr = OCA.Files.FileList.prototype._createRow.apply(this, arguments);
- var $scopeColumn = $('<td></td>');
- var $backendColumn = $('<td></td>');
+ var $scopeColumn = $('<td class="column-scope column-last"><span></span></td>');
+ var $backendColumn = $('<td class="column-backend"></td>');
var scopeText = t('files_external', 'Personal');
if (fileData.scope === 'system') {
scopeText = t('files_external', 'System');
}
$tr.find('.filesize,.date').remove();
- $scopeColumn.text(scopeText);
+ $scopeColumn.find('span').text(scopeText);
$backendColumn.text(fileData.backend);
$tr.find('td.filename').after($scopeColumn).after($backendColumn);
$tr.find('td.filename input:checkbox').remove();
diff --git a/apps/files_external/templates/list.php b/apps/files_external/templates/list.php
index 900a17be717..4e06bc7024c 100644
--- a/apps/files_external/templates/list.php
+++ b/apps/files_external/templates/list.php
@@ -19,7 +19,7 @@
<th id="headerBackend" class="hidden column-backend">
<a class="backend sort columntitle" data-sort="backend"><span><?php p($l->t('Storage type')); ?></span><span class="sort-indicator"></span></a>
</th>
- <th id="headerScope" class="hidden column-size">
+ <th id="headerScope" class="hidden column-scope column-last">
<a class="scope sort columntitle" data-sort="scope"><span><?php p($l->t('Scope')); ?></span><span class="sort-indicator"></span></a>
</th>
</tr>