Sha256: 097929fc31ffb35039e3eea804beac97292759e7df734c05b9f0ba27ea711e21

Contents?: true

Size: 1008 Bytes

Versions: 7

Compression:

Stored size: 1008 Bytes

Contents

<div class="extra__date-container">
  <% if same_day? %>
    <div class="extra__date">
      <%= l start_time, format: "%d" %>
      <span class="extra__month"><%= l start_time, format: "%B#{" %Y" if show_year?}" %></span>
    </div>
    <div class="extra__time">
      <%= l start_time, format: "%H:%M" %> - <%= l end_time, format: "%H:%M" %>
    </div>
  <% else %>
    <div>
      <div class="extra__date">
        <%= l start_time, format: "%d" %>
        <span class="extra__month"><%= l start_time, format: "%B#{" %Y" if show_year?}" %></span>
      </div>
      <div class="extra__time">
        <%= l start_time, format: "%H:%M" %>
      </div>
    </div>
    <%= icon "arrow-right-line" %>
    <div>
      <div class="extra__date">
        <%= l end_time, format: "%d" %>
        <span class="extra__month"><%= l end_time, format: "%B#{" %Y" if show_year?}" %></span>
      </div>
      <div class="extra__time">
        <%= l end_time, format: "%H:%M" %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.28.4 app/cells/decidim/date_range/show.erb
decidim-core-0.28.3 app/cells/decidim/date_range/show.erb
decidim-core-0.28.2 app/cells/decidim/date_range/show.erb
decidim-core-0.28.1 app/cells/decidim/date_range/show.erb
decidim-core-0.28.0 app/cells/decidim/date_range/show.erb
decidim-core-0.28.0.rc5 app/cells/decidim/date_range/show.erb
decidim-core-0.28.0.rc4 app/cells/decidim/date_range/show.erb