Sha256: ab91d5d5a692567621b0af27b8f2b0e6b9a1ff805b38bbb9f40b81b9abc867c3

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

<div class="card budget-summary" data-progress-reference>
  <div class="card__content">
    <% if include_heading %>
      <% if current_order_checked_out? %>
        <h3 class="heading3"><%= t('.checked_out.title') %></h3>
        <p>
          <%= raw t('.checked_out.description', cancel_link: link_to(t('.cancel_order'), order_path, method: :delete, class: 'cancel-order', data: { confirm: t('.are_you_sure') })) %>
        </p>
      <% else %>
        <h3 class="heading3"><%= t('.title') %></h3>
        <p><%= t('.description', minimum_budget: budget_to_currency(current_order&.minimum_budget)) %></p>
      <% end %>
    <% end %>

    <div class="budget-summary__total" data-total-budget="<%= feature_settings.total_budget %>">
      <span class="mini-title"><%= t('total_budget') %>
        <strong class="mini-title__strong mini-title__strong--highlight">
          <%= budget_to_currency(feature_settings.total_budget) %>
        </strong>
      </span>
    </div>

    <div id="order-progress">
      <%= render partial: 'order_progress' %>
    </div>

    <div>
      <span class="mini-title">
        <%= t('.assigned') %>
        <strong id="order-total-budget" class="mini-title__strong">
          <%= render partial: 'order_total_budget' %>
        </strong>
      </span>
    </div>
  </div>

  <div id="order-selected-projects">
    <%= render partial: 'order_selected_projects' %>
  </div>
</div>

<%= render partial: "budget_excess" %>

<div class="reveal" data-reveal id="budget-confirm">
  <%= render partial: "budget_confirm" %>
</div>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
decidim-0.0.4 decidim-budgets/app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.0.3 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-0.0.3 decidim-budgets/app/views/decidim/budgets/projects/_budget_summary.html.erb