file_action_trigger.handlebars 395 B

12345678910111213
  1. <a class="action action-{{nameLowerCase}}" href="#" data-action="{{name}}">
  2. {{#if icon}}
  3. <img class="svg" alt="{{altText}}" src="{{icon}}" />
  4. {{else}}
  5. {{#if iconClass}}
  6. <span class="icon {{iconClass}}"></span>
  7. {{/if}}
  8. {{#unless hasDisplayName}}
  9. <span class="hidden-visually">{{altText}}</span>
  10. {{/unless}}
  11. {{/if}}
  12. {{#if displayName}}<span> {{displayName}}</span>{{/if}}
  13. </a>