Sha256: 109bc4af639d909a1e1b9444f863f57ed1ae0181d7a6474a5ef4dc6bfe2ca00e

Contents?: true

Size: 1.83 KB

Versions: 26

Compression:

Stored size: 1.83 KB

Contents

<% add_decidim_meta_tags(
  title: translated_attribute(project.title),
  description: translated_attribute(project.description)
) %>

<div class="row column view-header">
  <% if current_user.present? && current_settings.votes_enabled? %>
    <%= render partial: "budget_summary", locals: { include_heading: false } %>
  <% end %>
  <%= link_to projects_path, class: "muted-link" do %>
    <%= icon "chevron-left", class: "icon--small" %>
    <%= t('.view_all_projects') %>
  <% end %>
  <h2 class="heading2"><%= translated_attribute project.title %></h2>
</div>
<div class="row">
  <div id="project" class="columns section view-side mediumlarge-4 mediumlarge-push-8
    large-3 large-push-9">
    <div class="card extra">
      <div class="card__content">
        <div class="m-bottom">
          <span class="definition-data__title"><%= t('.budget') %></span>
          <span class="definition-data__number"><%= budget_to_currency project.budget %></span>
        </div>
        <% if current_settings.show_votes? %>
          <div class="card__support__data">
            <span><%= t('decidim.budgets.projects.project.count', count: project.confirmed_orders_count) %></span>
          </div>
        <% end %>
        <div id="project-<%= project.id %>-budget-button">
          <%= render partial: 'project_budget_button', locals: { project: project } %>
        </div>
      </div>
    </div>
    <%= feature_reference(project) %>
  </div>
  <div class="columns mediumlarge-8 mediumlarge-pull-4">
    <div class="section">
      <%== translated_attribute project.description %>
      <%= render partial: "tags", locals: { project: project } %>
    </div>
    <%= linked_resources_for project, :proposals, "included_proposals" %>
  </div>
</div>

<%= comments_for project %>

<%= attachments_for project %>
<%= javascript_include_tag("decidim/budgets/projects") %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
decidim-budgets-0.4.4 app/views/decidim/budgets/projects/show.html.erb
decidim-0.4.4 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.4.3 app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.4.2 app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.4.1 app/views/decidim/budgets/projects/show.html.erb
decidim-0.4.3 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-0.4.2 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-0.4.1 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.4.0 app/views/decidim/budgets/projects/show.html.erb
decidim-0.4.0 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.3.2 app/views/decidim/budgets/projects/show.html.erb
decidim-0.3.2 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.3.1 app/views/decidim/budgets/projects/show.html.erb
decidim-0.3.1 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.3.0 app/views/decidim/budgets/projects/show.html.erb
decidim-0.3.0 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.2.0 app/views/decidim/budgets/projects/show.html.erb
decidim-0.2.0 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb
decidim-budgets-0.1.0 app/views/decidim/budgets/projects/show.html.erb
decidim-0.1.0 decidim-budgets/app/views/decidim/budgets/projects/show.html.erb