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:
|
data:
|
||||||
19-20:
|
2020:
|
||||||
- name: Titouan Vervack
|
- name: Titouan Vervack
|
||||||
nickname: FlashYoshi
|
nickname: FlashYoshi
|
||||||
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg
|
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg
|
||||||
|
|
|
@ -12,7 +12,7 @@ module AboutHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def current_sponsoring_members
|
def current_sponsoring_members
|
||||||
sponsoring_members_of(@config[:academic_year].to_sym)
|
sponsoring_members_of(@config[:sponsoring_members_year])
|
||||||
end
|
end
|
||||||
|
|
||||||
def all_bestuur
|
def all_bestuur
|
||||||
|
@ -32,7 +32,7 @@ module AboutHelper
|
||||||
def to_full_year(year)
|
def to_full_year(year)
|
||||||
(year.to_i < 90) ? "20#{year}" : "19#{year}"
|
(year.to_i < 90) ? "20#{year}" : "19#{year}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_HTML(text)
|
def to_HTML(text)
|
||||||
text.gsub("<", "<").gsub(">", ">").gsub("\n", "<br>");
|
text.gsub("<", "<").gsub(">", ">").gsub("\n", "<br>");
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
title: Zeus WPI
|
title: Zeus WPI
|
||||||
academic_year: 20-21
|
academic_year: 20-21
|
||||||
|
sponsoring_members_year: 2020
|
||||||
# Needed for atom_feed
|
# Needed for atom_feed
|
||||||
author_name: ''
|
author_name: ''
|
||||||
author_uri: ''
|
author_uri: ''
|
||||||
|
|
Loading…
Reference in a new issue