houdini/app/views/nonprofits/_achievements.html.erb
2020-06-15 10:26:57 -05:00

19 lines
638 B
Text

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<!-- partial start: nonprofits/_achievements -->
<% unless @nonprofit.achievements.join.blank? %>
<aside class='u-marginBottom--15 pastelBox--grey stripedBox u-relative'>
<header>Highlights</header>
<table>
<% @nonprofit.achievements.each do |ach| %>
<% if ach != '' %>
<tr>
<td><i class='fa fa-star' if-branded='color, base'></i></td>
<td><%= ach %></td>
</tr>
<% end %>
<% end %>
</table>
</aside>
<% end %>
<!-- partial end: nonprofits/_achievements -->