Sha256: c1d40c9ed14b6a5bdbbee0d73368f7a0b60e492fa3c091cabb119594b663eb44
Contents?: true
Size: 1.29 KB
Versions: 10
Compression:
Stored size: 1.29 KB
Contents
<div class="card card--action card--list"> <% resources.each do |proposal| %> <div class="card--list__item"> <div class="card--list__text"> <%= link_to resource_locator(proposal).path do %> <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %> <% end %> <div> <%= link_to resource_locator(proposal).path, class: "card__link" do %> <h5 class="card--list__heading"><%= present(proposal).title %></h5> <% end %> <% present(proposal) do |proposal| %> <div class="author"> <span class="author__avatar"> <%= image_tag proposal.author.avatar_url %> </span> <span class="author__name"> <strong><%= proposal.author.name %></strong> <%= proposal.author.nickname %> </span> </div> <% end %> </div> </div> <% if !current_settings.try(:votes_hidden?) && !proposal.component.current_settings.votes_hidden? %> <div class="card--list__data"> <span class="card--list__data__number"> <%= proposal.votes.size %> </span> <%= t(".proposal_votes", count: proposal.votes.size) %> </div> <% end %> </div> <% end %> </div>
Version data entries
10 entries across 10 versions & 1 rubygems