You are here

rrssb-button-list.html.twig in Ridiculously Responsive Social Sharing Buttons 8.2

<div {{ attributes.addClass('rrssb').addClass("rrssb-bs-#{button_set}") }}>
  {% if prefix_text %}
    <div class="rrssb-prefix">{{ prefix_text }}</div>
  {% endif %}
  <ul class="rrssb-buttons">
    {% for button in buttons %}
      <li class="rrssb-{{ button.name }}">
        <a href="{{ button.link }}" {{ button.class | raw }}>
          <span class="rrssb-icon"></span>
          <span class="rrssb-text">{{ button.text }}</span>
        </a>
      </li>
    {% endfor %}
  </ul>
</div>

File

templates/rrssb-button-list.html.twig
View source
  1. <div {{ attributes.addClass('rrssb').addClass("rrssb-bs-#{button_set}") }}>
  2. {% if prefix_text %}
  3. <div class="rrssb-prefix">{{ prefix_text }}</div>
  4. {% endif %}
  5. <ul class="rrssb-buttons">
  6. {% for button in buttons %}
  7. <li class="rrssb-{{ button.name }}">
  8. <a href="{{ button.link }}" {{ button.class | raw }}>
  9. <span class="rrssb-icon"></span>
  10. <span class="rrssb-text">{{ button.text }}</span>
  11. </a>
  12. </li>
  13. {% endfor %}
  14. </ul>
  15. </div>