mirror of
https://github.com/nextcloud/server.git
synced 2024-08-24 05:56:03 +02:00
![Vincent Petry](/assets/img/avatar_default.png)
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>
14 lines
395 B
Handlebars
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>
|