Sha256: 1d160d741b4468b9dd11d40717f75c4229063d07ff5a5b3d4c3a21ef87851a5e

Contents?: true

Size: 1.29 KB

Versions: 66

Compression:

Stored size: 1.29 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>

    <%= render partial: 'order_progress' %>

    <div>
      <span class="mini-title">
        <%= t('.assigned') %>
        <%= render partial: 'order_total_budget' %>
      </span>
    </div>
  </div>

  <%= render partial: 'order_selected_projects' %>
</div>

<%= render partial: "budget_excess" %>
<%= render partial: "budget_confirm" %>

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
decidim-budgets-0.10.1 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.10.0 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.9.3 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.9.2 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.9.1 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.9.0 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.8.4 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.8.3 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.8.2 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.8.1 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.8.0 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.7.4 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.7.3 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.7.2 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.7.1 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.7.0 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.6.8 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-0.6.8 decidim-budgets/app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-budgets-0.6.7 app/views/decidim/budgets/projects/_budget_summary.html.erb
decidim-0.6.7 decidim-budgets/app/views/decidim/budgets/projects/_budget_summary.html.erb