mirror of
https://github.com/nextcloud/server.git
synced 2025-02-22 16:09:14 +00:00

Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly render self-closed elements. This fixes mainfileinfodetailsview template to not use self-closed elements and fixes the JS unit tests. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
21 lines
1,020 B
Handlebars
21 lines
1,020 B
Handlebars
<div class="thumbnailContainer"><a href="#" class="thumbnail action-default"><div class="stretcher"></div></a></div>
|
|
<div class="file-details-container">
|
|
<div class="fileName">
|
|
<h3 title="{{name}}" class="ellipsis">{{name}}</h3>
|
|
<a class="permalink" href="{{permalink}}" title="{{permalinkTitle}}" data-clipboard-text="{{permalink}}">
|
|
<span class="icon icon-clippy"></span>
|
|
<span class="hidden-visually">{{permalinkTitle}}</span>
|
|
</a>
|
|
</div>
|
|
<div class="file-details ellipsis">
|
|
{{#if hasFavoriteAction}}
|
|
<a href="#" class="action action-favorite favorite permanent">
|
|
<span class="icon {{starClass}}" title="{{starAltText}}"></span>
|
|
</a>
|
|
{{/if}}
|
|
{{#if hasSize}}<span class="size" title="{{altSize}}">{{size}}</span>, {{/if}}<span class="date live-relative-timestamp" data-timestamp="{{timestamp}}" title="{{altDate}}">{{date}}</span>
|
|
</div>
|
|
</div>
|
|
<div class="hidden permalink-field">
|
|
<input type="text" value="{{permalink}}" placeholder="{{permalinkTitle}}" readonly="readonly"/>
|
|
</div>
|