2020-09-10 00:28:10 +02:00
|
|
|
<div class="link" onclick="window.location.href = '<%= item.path %>'">
|
|
|
|
<div class="link__img">
|
|
|
|
<img src="https://dsa.ugent.be/api/verenigingen/<%= abbreviation(item) %>/logo?size=small" alt="<%= item[:naam] %>">
|
|
|
|
</div>
|
|
|
|
<div class="link__content">
|
|
|
|
<h3 class="link__title">
|
2020-09-10 13:27:02 +02:00
|
|
|
<%= item[:titel] || item[:naam] %>
|
2020-09-10 00:28:10 +02:00
|
|
|
</h3>
|
|
|
|
<p class="link__text">
|
2020-09-10 12:13:46 +02:00
|
|
|
<%= text_segment(item.compiled_content) %>
|
2020-09-10 00:28:10 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|