Sha256: 2cffbaf1d8af8693ea7b573286e72414f928d2c5163b747c4ca039caa3cb1a79

Contents?: true

Size: 1.22 KB

Versions: 17

Compression:

Stored size: 1.22 KB

Contents

<% if participatory_process.steps.any? %>
  <div class="columns mediumlarge-3">
    <div class="process-header__phase process-header__phase--simple">
      <div class="process-header__progress show-for-medium">
        <ol>
          <% past_step = true %>
          <% participatory_process.steps.each_with_index do |step, index| %>
            <% if past_step %>
              <li class="phase-item--past"><span></span></li>
            <% else %>
              <li><span></span></li>
            <% end %>
            <% past_step = false if step.active? %>
          <% end %>
        </ol>
        <span class="phase-current"><%= t(".step", current: (participatory_process.active_step.position + 1), total: current_participatory_process.steps.count) %></span>
      </div>
      <div>
        <span class="phase-title"><%= translated_attribute participatory_process.active_step.title %></span>
        <span class="phase-date">
          <%= participatory_process_step_dates participatory_process.active_step %>
        </span>
      </div>
      <%= link_to t('.view_steps'), decidim.participatory_process_participatory_process_steps_path(current_participatory_process), class: "button tiny hollow show-for-medium" %>
    </div>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
decidim-core-0.5.1 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-0.5.1 decidim-core/app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.5.0 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-0.5.0 decidim-core/app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.4.4 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.4.2 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.4.1 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.4.3 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.4.0 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.3.2 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.3.1 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.3.0 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.2.0 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.1.0 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.0.8.1 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.0.7 app/views/layouts/decidim/_process_header_steps.html.erb
decidim-core-0.0.6 app/views/layouts/decidim/_process_header_steps.html.erb