diff options
author | Raghu Nayyar <hey@raghunayyar.com> | 2015-08-30 14:17:18 +0200 |
---|---|---|
committer | Raghu Nayyar <hey@raghunayyar.com> | 2015-08-30 14:17:18 +0200 |
commit | 468bde67ff310d097b79e52a69001988554a562b (patch) | |
tree | 431f40f1f336f7a951cb261dff1409a4f83df05a /apps/files/js/detailsview.js | |
parent | 045f8cc97101521cafd664faf7b8f24ea9e88451 (diff) | |
download | nextcloud-server-468bde67ff310d097b79e52a69001988554a562b.tar.gz nextcloud-server-468bde67ff310d097b79e52a69001988554a562b.zip |
Removes unecessary divs and adds max width to longer names.
Diffstat (limited to 'apps/files/js/detailsview.js')
-rw-r--r-- | apps/files/js/detailsview.js | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js index a4ebe90cd64..83d7fd4a178 100644 --- a/apps/files/js/detailsview.js +++ b/apps/files/js/detailsview.js @@ -10,24 +10,20 @@ (function() { var TEMPLATE = - '<div>' + ' <div class="detailFileInfoContainer">' + ' </div>' + - ' <div>' + - ' {{#if tabHeaders}}' + - ' <ul class="tabHeaders">' + + ' {{#if tabHeaders}}' + + ' <ul class="tabHeaders">' + ' {{#each tabHeaders}}' + ' <li class="tabHeader" data-tabid="{{tabId}}" data-tabindex="{{tabIndex}}">' + ' <a href="#">{{label}}</a>' + ' </li>' + ' {{/each}}' + - ' </ul>' + - ' {{/if}}' + - ' <div class="tabsContainer">' + - ' </div>' + + ' </ul>' + + ' {{/if}}' + + ' <div class="tabsContainer">' + ' </div>' + - ' <a class="close icon-close" href="#" alt="{{closeLabel}}"></a>' + - '</div>'; + ' <a class="close icon-close" href="#" alt="{{closeLabel}}"></a>'; /** * @class OCA.Files.DetailsView @@ -268,4 +264,3 @@ OCA.Files.DetailsView = DetailsView; })(); - |