Sha256: bac5cafc0554702657aca5ad16024ceb99e0950fd505153e7f7d338ec8629d49

Contents?: true

Size: 787 Bytes

Versions: 22

Compression:

Stored size: 787 Bytes

Contents

{% assign action = include.action %}
<a class="{% if action.type != 'link' and action.type != 'svg' %}button{% endif %}{% if action.type == 'secondary' %} button-secondary{% endif %}{% if action.type == 'icon' %} button-icon{% endif %}" href="{{ action.url | relative_url }}" {% assign new_window_is_not_empty=action.new_window
    | is_not_empty %}{% if new_window_is_not_empty %} target="_blank" rel="noopener" {% endif %}>
  {% if action.type == 'icon' and action.icon_class %}
  <span class="icon fab {{ action.icon_class }}" aria-hidden="true"></span><span class="screen-reader-text">{{ action.label }}</span>
  {% elsif action.type == 'svg' and action.svg_url %}
    <img src="{{ action.svg_url }}" alt="{{ action.svg_alt }}" />
  {% else %}
  {{ action.label }}
  {% endif %}
</a>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ledger_sync-3.0.0 documentation/site/_includes/action_link.html
ledger_sync-2.6.0 documentation/site/_includes/action_link.html
ledger_sync-2.5.0 documentation/site/_includes/action_link.html
ledger_sync-2.4.4 documentation/site/_includes/action_link.html
ledger_sync-2.3.1 documentation/site/_includes/action_link.html
ledger_sync-2.2.3 documentation/site/_includes/action_link.html
ledger_sync-2.2.1 documentation/site/_includes/action_link.html
ledger_sync-2.2.0 documentation/site/_includes/action_link.html
ledger_sync-2.0.2 documentation/site/_includes/action_link.html
ledger_sync-2.0.1 documentation/site/_includes/action_link.html
ledger_sync-2.0.0 documentation/site/_includes/action_link.html
ledger_sync-2.0.0.pre.1 documentation/site/_includes/action_link.html
ledger_sync-1.8.1 documentation/site/_includes/action_link.html
ledger_sync-1.8.0 documentation/site/_includes/action_link.html
ledger_sync-1.7.0 documentation/site/_includes/action_link.html
ledger_sync-1.6.0 documentation/site/_includes/action_link.html
ledger_sync-1.5.2 documentation/site/_includes/action_link.html
ledger_sync-1.5.1 documentation/site/_includes/action_link.html
ledger_sync-1.5.0 documentation/site/_includes/action_link.html
ledger_sync-1.4.4 documentation/site/_includes/action_link.html