Sha256: c102e2a2c70253f5437f5cf9d59b4ff4af04511fa9982d551c5d44dbb2c6ed1d

Contents?: true

Size: 913 Bytes

Versions: 7

Compression:

Stored size: 913 Bytes

Contents

<div class="<%= card_class %>">
  <div class="card--list__text">
    <%= link_to budget_path(budget), class: link_class do %>
      <% if voted? && !voting_finished? %>
        <strong>
          <%= translated_attribute(title) %>
        </strong>
        <span class="button tiny success card--list__check card--list__check--disabled">
          <%= icon "check", class: "icon--small", role: "img", aria_label: t("decidim.budgets.budget_list_item.voting_finished") %>
        </span>
      <% else %>
        <%= translated_attribute(title) %>

        <% if progress? && !voting_finished? %>
          <span class="button tiny hollow secondary card--list__check card--list__check--disabled">
            <%= icon "bookmark", class: "icon--small", role: "img", aria_label: t("decidim.budgets.budget_list_item.voting_started") %>
          </span>
        <% end %>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-budgets-0.25.2 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.1 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.0 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.0.rc4 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.0.rc3 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.0.rc2 app/cells/decidim/budgets/budget_list_item/show.erb
decidim-budgets-0.25.0.rc1 app/cells/decidim/budgets/budget_list_item/show.erb