Move to new URLs

This commit is contained in:
Niko Strijbol 2020-08-23 01:36:09 +02:00
parent a0f6d06546
commit 24af65f299
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<div class="details-container details-logo">
<img src="https://dsa.ugent.be/verenigingen/details/<%= abbreviation(item) %>/logo?size=huge" alt="<%= item[:naam] %>">
<img src="https://dsa.ugent.be/api/verenigingen/<%= abbreviation(item) %>/logo?size=huge" alt="<%= item[:naam] %>">
</div>
<div class="details-container details-contact">
<% if item[:deelname_link] %>

View file

@ -1,7 +1,7 @@
<h1> Themas </h1>
<ul>
<% for theme in themes %>
<img src="https://dsa.ugent.be/verenigingen/details/<%= theme.tr(" ", "_") %>/logo?size=medium" alt="<%= theme %>">
<img src="https://dsa.ugent.be/api/verenigingen/<%= theme.tr(" ", "_") %>/logo?size=medium" alt="<%= theme %>">
<li> <%= link_to(theme, "/thema/"++theme.tr(" ", "_")) %> </li>
<% end %>
</ul>
@ -9,7 +9,7 @@
<h1> Konventen en projecten </h1>
<ul>
<% for konvent in konvents %>
<img src="https://dsa.ugent.be/verenigingen/details/<%= konvent.tr(" ", "_") %>/logo?size=medium" alt="<%= konvent %>">
<img src="https://dsa.ugent.be/api/verenigingen/<%= konvent.tr(" ", "_") %>/logo?size=medium" alt="<%= konvent %>">
<li> <%= link_to(konvent, "/konventen/"++konvent.tr(" ", "_")++".html") %> </li>
<% end %>
</ul>