Sha256: 5316e527a42e62f5fb72551e23fe8f5dd1be67e27da1422fa4100c42e2e54424

Contents?: true

Size: 1.98 KB

Versions: 38

Compression:

Stored size: 1.98 KB

Contents

<div id="order-progress">
  <div class="budget-summary__progressbox" data-current-allocation="<%= current_order ? current_order.total : 0 %>">
    <div class="progress budget-progress" role="progressbar" aria-valuenow="<%= current_order_budget_percent %>" aria-valuetext="<%= current_order_budget_percent %>%" aria-valuemin="0" aria-valuemax="100">
      <div class="progress-meter progress-meter--minimum" style="width: <%= current_order_budget_percent_minimum %>%"></div>
      <!--Change width and text dynamically.-->
      <div class="progress-meter budget-progress__meter" style="width: <%= current_order_budget_percent %>%">
        <span class="progress-meter-text progress-meter-text--right"><%= current_order_budget_percent %>%</span>
      </div>
    </div>
    <% if !current_order_checked_out? && voting_open? %>
      <button class="button small button--sc" data-toggle="budget-confirm" <%= budget_confirm_disabled_attr %>>
        <%= t(".vote") %>
      </button>
    <% end %>
  </div>

  <div class="progressbox-fixed-wrapper" data-progressbox-fixed>
    <div class="budget-summary__progressbox budget-summary__progressbox--fixed">
      <div class="progress budget-progress budget-progress--fixed" role="progressbar" aria-valuenow="<%= current_order_budget_percent %>" aria-valuetext="<%= current_order_budget_percent %>%" aria-valuemin="0" aria-valuemax="100">
        <div class="progress-meter progress-meter--minimum" style="width: <%= current_order_budget_percent_minimum %>%"></div>
        <div class="progress-meter budget-progress__meter" style="width: <%= current_order_budget_percent %>%">
          <span class="progress-meter-text progress-meter-text--right"><%= current_order_budget_percent %>%</span>
        </div>
      </div>
      <% if !current_order_checked_out? && voting_open? %>
        <button class="button small button--sc" data-toggle="budget-confirm" <%= budget_confirm_disabled_attr %>>
          <%= t(".vote") %>
        </button>
      <% end %>
    </div>
  </div>
</div>

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
decidim-budgets-0.27.9 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.8 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.7 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.6 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.10 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-lausanne-budgets-0.1.0 app/views/decidim/lausanne/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.9 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.5 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.8 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.4 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.3 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.7 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.5 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.2 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.1 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.4 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.0 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.26.3 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.0.rc2 app/views/decidim/budgets/projects/_order_progress.html.erb
decidim-budgets-0.27.0.rc1 app/views/decidim/budgets/projects/_order_progress.html.erb