You are here

smart-date-recurring-formatter.html.twig in Smart Date 8.2

<div class="recurring-output--wrapper">
  <div class="rule-text">{{ rule_text }}</div>
  {% if past_display %}
  <details open="open">
    <summary>{{ 'Recent'|t }}</summary>
    <div class="details-wrapper">
      {{ past_display }}
    </div>
  </details>
  {% endif %}
  {% if upcoming_display %}
    <details open="open">
      <summary>{{ 'Upcoming'|t }}</summary>
      <div class="details-wrapper">
        {{ upcoming_display }}
      </div>
    </details>
  {% endif %}
</div>

File

modules/smart_date_recur/templates/smart-date-recurring-formatter.html.twig
View source
  1. <div class="recurring-output--wrapper">
  2. <div class="rule-text">{{ rule_text }}</div>
  3. {% if past_display %}
  4. <details open="open">
  5. <summary>{{ 'Recent'|t }}</summary>
  6. <div class="details-wrapper">
  7. {{ past_display }}
  8. </div>
  9. </details>
  10. {% endif %}
  11. {% if upcoming_display %}
  12. <details open="open">
  13. <summary>{{ 'Upcoming'|t }}</summary>
  14. <div class="details-wrapper">
  15. {{ upcoming_display }}
  16. </div>
  17. </details>
  18. {% endif %}
  19. </div>