Split supporting member years and academic year

This commit is contained in:
redfast00 2020-07-12 11:22:00 +02:00
parent 97955c57fc
commit cf86711b9b
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
---
data:
19-20:
2020:
- name: Titouan Vervack
nickname: FlashYoshi
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg

View file

@ -12,7 +12,7 @@ module AboutHelper
end
def current_sponsoring_members
sponsoring_members_of(@config[:academic_year].to_sym)
sponsoring_members_of(@config[:sponsoring_members_year])
end
def all_bestuur
@ -32,7 +32,7 @@ module AboutHelper
def to_full_year(year)
(year.to_i < 90) ? "20#{year}" : "19#{year}"
end
def to_HTML(text)
text.gsub("<", "&lt;").gsub(">", "&gt;").gsub("\n", "<br>");
end

View file

@ -1,5 +1,6 @@
title: Zeus WPI
academic_year: 20-21
sponsoring_members_year: 2020
# Needed for atom_feed
author_name: ''
author_uri: ''