Sha256: 2f3aa6fb5ef97ffc5d62b423998c1ebb62dcf4db56a37c6a617903e14d384321
Contents?: true
Size: 876 Bytes
Versions: 13
Compression:
Stored size: 876 Bytes
Contents
<div class="card-section"> <div class="row column"> <span class="component__show-title"><%= t "endorsers", scope: "decidim.proposals.admin.proposals.show" %></span> <ul id="proposal-endorsers-list"> <% presented_endorsers.first(5).each do |presented_endorser| %> <li> <%= link_to_if( presented_endorser.profile_path.present?, presented_endorser.name, presented_endorser.profile_path, target: :blank ) %> </li> <% end %> <% if presented_endorsers.count > 5 %> <li> <%= link_to( t("n_more_endorsers", scope: "decidim.proposals.admin.proposals.show", count: presented_endorsers.count - 5), resource_locator(proposal).path ) %> </li> <% end %> </ul> </div> </div>
Version data entries
13 entries across 13 versions & 1 rubygems