From e328ae97fd7c339ad7b91ae10f9ccd3605627857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 24 Feb 2020 16:42:28 +0000 Subject: [PATCH] change owner icon - badge icon for owned pads - no icons for pads owned by someone else or without an owner --- www/common/drive-ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index afcfe2d6a..0689c528f 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -122,9 +122,9 @@ define([ var $addIcon = $('', {"class": "fa fa-plus"}); var $renamedIcon = $('', {"class": "fa fa-flag"}); var $readonlyIcon = $('', {"class": "fa " + faReadOnly}); - var $ownedIcon = $('', {"class": "fa fa-id-card-o"}); + var $ownedIcon = $('', {"class": "fa fa-id-badge"}); var $sharedIcon = $('', {"class": "fa " + faShared}); - var $ownerIcon = $('', {"class": "fa fa-id-card"}); + //var $ownerIcon = $('', {"class": "fa fa-id-card"}); var $tagsIcon = $('', {"class": "fa " + faTags}); var $passwordIcon = $('', {"class": "fa fa-lock"}); var $expirableIcon = $('', {"class": "fa fa-clock-o"}); @@ -1819,10 +1819,10 @@ define([ var $owned = $ownedIcon.clone().appendTo($state); $owned.attr('title', Messages.fm_padIsOwned); $span.addClass('cp-app-drive-element-owned'); - } else if (data.owners && data.owners.length) { + } /* else if (data.owners && data.owners.length) { var $owner = $ownerIcon.clone().appendTo($state); $owner.attr('title', Messages.fm_padIsOwnedOther); - } + } */ }; var thumbsUrls = {}; var addFileData = function (element, $element) {