nextcloud/apps/files/js/templates/file_action_trigger.handlebars
Vincent Petry ba8b55f4d6 Fix action share icon markup
Expanded the empty span tag to resolve issue with wrong appending done
by either handlebars or jquery.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-18 15:41:26 +01:00

14 lines
395 B
Handlebars

<a class="action action-{{nameLowerCase}}" href="#" data-action="{{name}}">
{{#if icon}}
<img class="svg" alt="{{altText}}" src="{{icon}}" />
{{else}}
{{#if iconClass}}
<span class="icon {{iconClass}}"></span>
{{/if}}
{{#unless hasDisplayName}}
<span class="hidden-visually">{{altText}}</span>
{{/unless}}
{{/if}}
{{#if displayName}}<span> {{displayName}}</span>{{/if}}
</a>