diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-17 14:09:00 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-08-07 01:22:43 +0200 |
commit | 3e44ca6dc24d5ffc4cb678532a5afa3b026780ce (patch) | |
tree | 5409d96caf9836d84157cc080700df29c2426aac /apps/files/js/mainfileinfodetailview.js | |
parent | f11946c8c0c41e87e17c50b5e3691ece11a09ae4 (diff) | |
download | nextcloud-server-3e44ca6dc24d5ffc4cb678532a5afa3b026780ce.tar.gz nextcloud-server-3e44ca6dc24d5ffc4cb678532a5afa3b026780ce.zip |
Added unit tests for right sidebar
Diffstat (limited to 'apps/files/js/mainfileinfodetailview.js')
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 4707e3e9f0d..245653d8e1e 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -14,10 +14,10 @@ '<div class="ellipsis">' + ' <a href="#" ' + ' alt="{{starAltText}}"' + - ' class="action action-favorite {{#isFavorite}}permanent{{/isFavorite}}">' + + ' class="action action-favorite favorite">' + ' <img class="svg" src="{{starIcon}}" />' + ' </a>' + - ' <span title="{{altSize}}">{{size}}</span>, <span title="{{altDate}}">{{date}}</span>' + + ' <span class="size" title="{{altSize}}">{{size}}</span>, <span class="date" title="{{altDate}}">{{date}}</span>' + '</div>'; /** @@ -67,7 +67,6 @@ dateLabel: t('files', 'Modified'), altDate: OC.Util.formatDate(this._fileInfo.mtime), date: OC.Util.relativeModifiedDate(this._fileInfo.mtime), - isFavorite: isFavorite, starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'), starIcon: OC.imagePath('core', isFavorite ? 'actions/starred' : 'actions/star') })); |