Split supporting member years and academic year
This commit is contained in:
parent
97955c57fc
commit
cf86711b9b
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
data:
|
||||
19-20:
|
||||
2020:
|
||||
- name: Titouan Vervack
|
||||
nickname: FlashYoshi
|
||||
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg
|
||||
|
|
|
@ -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("<", "<").gsub(">", ">").gsub("\n", "<br>");
|
||||
end
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
title: Zeus WPI
|
||||
academic_year: 20-21
|
||||
sponsoring_members_year: 2020
|
||||
# Needed for atom_feed
|
||||
author_name: ''
|
||||
author_uri: ''
|
||||
|
|
Loading…
Reference in a new issue