mirror of
https://github.com/nextcloud/server.git
synced 2025-05-04 05:51:06 +00:00

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>
13 lines
395 B
Handlebars
13 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>
|