diff --git a/www/drive/inner.js b/www/drive/inner.js index b301752a2..16d30dcc9 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -119,6 +119,7 @@ define([ var $sharedIcon = $('', {"class": "fa " + faShared}); var $ownerIcon = $('', {"class": "fa fa-id-card"}); var $tagsIcon = $('', {"class": "fa " + faTags}); + var $passwordIcon = $('', {"class": "fa fa-lock"}); var LS_LAST = "app-drive-lastOpened"; var LS_OPENED = "app-drive-openedFolders"; @@ -1436,6 +1437,10 @@ define([ var $renamed = $renamedIcon.clone().appendTo($state); $renamed.attr('title', Messages._getKey('fm_renamedPad', [data.title])); } + if (hrefData.hashData && hrefData.hashData.password) { + var $password = $passwordIcon.clone().appendTo($state); + $password.attr('title', Messages.fm_passwordProtected || ''); + } _addOwnership($span, $state, data); var name = manager.getTitle(element);