2020-02-27 23:03:14 +01:00
|
|
|
<div class="details-container details-logo">
|
2020-08-23 01:36:09 +02:00
|
|
|
<img src="https://dsa.ugent.be/api/verenigingen/<%= abbreviation(item) %>/logo?size=huge" alt="<%= item[:naam] %>">
|
2020-02-27 23:03:14 +01:00
|
|
|
</div>
|
|
|
|
<div class="details-container details-contact">
|
|
|
|
<% if item[:deelname_link] %>
|
|
|
|
<a href="<%= item[:deelname_link] %>"><%= item[:deelname_link] %></a>
|
|
|
|
<% end %>
|
|
|
|
<div class="contact-container">
|
|
|
|
<p><a href="<%= item[:contact] %>"><%= item[:contact] %></a></p>
|
|
|
|
<p><a href="<%= item[:website] %>"><%= item[:website] %></a></p>
|
|
|
|
</div>
|
|
|
|
<div class="social-container">
|
2020-02-28 02:15:51 +01:00
|
|
|
<ul>
|
|
|
|
<% if item[:social] %>
|
|
|
|
<% for social in item[:social] %>
|
|
|
|
<li class="social-<%= social[:platform] %>">
|
|
|
|
<a href="<%= social[:link] %>"><%= social[:link] %></a>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2020-02-27 23:03:14 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="details-container details-photo">
|
|
|
|
<div class="showcase-container">
|
2020-02-28 02:15:51 +01:00
|
|
|
<% if item[:showcase] %>
|
2020-02-27 23:03:14 +01:00
|
|
|
<% for showcase_img in item[:showcase] %>
|
|
|
|
<div class="showcase-image">
|
|
|
|
<img src="<%= showcase_img[:photo]%>" alt="showcase img"></img>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2020-02-28 02:15:51 +01:00
|
|
|
<% end %>
|
2020-02-27 23:03:14 +01:00
|
|
|
<div class="thema-container">
|
2020-02-28 02:15:51 +01:00
|
|
|
<% if item[:themas] %>
|
2020-08-29 00:09:04 +02:00
|
|
|
<p><span class="thema-title">Thema's:</span>
|
|
|
|
<ul>
|
|
|
|
<% for thema in item[:themas] %>
|
|
|
|
<li><%= thema %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</p>
|
2020-02-28 02:15:51 +01:00
|
|
|
<% end %>
|
2020-02-27 23:03:14 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% if item[:verenigingen] %>
|
2020-02-28 02:15:51 +01:00
|
|
|
<div class="details-container details-verenigingen">
|
|
|
|
<% for vereniging in item[:verenigingen] %>
|
|
|
|
<div class="vereninging-container">
|
|
|
|
<p><%= vereniging[:naam] %></p>
|
|
|
|
<img src="<%= vereniging[:photo] %>" alt="vereniging logo"></img>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2020-08-29 00:09:04 +02:00
|
|
|
<% end %>
|