They were all following the same format. Note we need to group the `see_all` translation keys together (the same way it's done with the `most_active` keys) so we don't have an unused translation warning. We're also moving the "see all" link in processes outside the feed content; the same way it's done in debates and proposals and removing unnecessary classes in the processes feed: the column class is causing the processes not to be aligned with the debates above them, and the margin bottom is not needed because the margin of the footer is already enough.
17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
<div class="proposal">
|
|
<div class="feed-description small-12 column
|
|
<%= "medium-6 large-9" if proposal.image.present? %>">
|
|
<strong><%= link_to proposal.title, url_for(proposal) %></strong><br>
|
|
<p><%= proposal.summary %></p>
|
|
</div>
|
|
|
|
<% if proposal.image.present? %>
|
|
<div class="small-12 medium-6 large-3 column">
|
|
<div class="feed-image">
|
|
<%= image_tag proposal.image_url(:thumb),
|
|
alt: proposal.image.title.unicode_normalize %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|