From 76d12039fc34eebfdcb623edd7a2f1b2877fc965 Mon Sep 17 00:00:00 2001 From: Robbe Van Herck Date: Mon, 6 Jul 2020 16:14:29 +0200 Subject: [PATCH] Add default message when no supporting members are found --- content/about/sponsorende-leden.erb | 86 +++++++++++++++-------------- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/content/about/sponsorende-leden.erb b/content/about/sponsorende-leden.erb index d26c137..8291ec8 100644 --- a/content/about/sponsorende-leden.erb +++ b/content/about/sponsorende-leden.erb @@ -6,48 +6,52 @@ narrow_page: true

Sponsorende leden

- <% current_sponsoring_members.each do |member| %> -
-
-
- <% if member[:photo] %> - <%= member[:name] %> - <% else %> -
- <%= member[:name].chars.first %> -
- <% end %> -
<%= member[:name] %>
-
(<%= member[:nickname] %>)
-
-
-
-
- <%= to_HTML(member[:quote]) %> -
-

- <%= to_HTML(member[:description]) %> -

-
-
-
+
+
+
+ <%= to_HTML(member[:quote]) %> +
+

+ <%= to_HTML(member[:description]) %> +

+
+ +
+ +
+ <% end %> <% end %>