You are here

drupalchat-subpanel.html.twig in DrupalChat 8

<a href="#" class="{{ subpanel.name }} subpanel_toggle">
  <span class="subpanel_title_text">
      {% if subpanel.icon is defined %}
          {{ subpanel.icon }}
      {% endif %}
      {% if subpanel.text is defined %}
          {{ subpanel.text|raw }}
      {% endif %}
  </span>
</a>
<div class="subpanel">
    {% if subpanel.header is defined %}
        <div class="subpanel_title">
            {{ subpanel.header }}
            <span class="options"></span>
            <span class="min">_</span>
        </div>
    {% endif %}
    {% if subpanel.contents is defined %}
        {{ subpanel.contents|raw }}
    {% if subpanel.footer is defined %}
        {{ subpanel.footer|raw }}
    {% endif %}
    {% endif %}
</div>

File

templates/drupalchat-subpanel.html.twig
View source
  1. <a href="#" class="{{ subpanel.name }} subpanel_toggle">
  2. <span class="subpanel_title_text">
  3. {% if subpanel.icon is defined %}
  4. {{ subpanel.icon }}
  5. {% endif %}
  6. {% if subpanel.text is defined %}
  7. {{ subpanel.text|raw }}
  8. {% endif %}
  9. </span>
  10. </a>
  11. <div class="subpanel">
  12. {% if subpanel.header is defined %}
  13. <div class="subpanel_title">
  14. {{ subpanel.header }}
  15. <span class="options"></span>
  16. <span class="min">_</span>
  17. </div>
  18. {% endif %}
  19. {% if subpanel.contents is defined %}
  20. {{ subpanel.contents|raw }}
  21. {% if subpanel.footer is defined %}
  22. {{ subpanel.footer|raw }}
  23. {% endif %}
  24. {% endif %}
  25. </div>