From cd4e0a769b6e881b82ee990380b4efb5492dd869 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Mon, 27 May 2019 13:11:23 +0200 Subject: [PATCH] Add board mails to contact page --- content/about/about.erb | 33 +---- content/contact.erb | 178 ++++++++++++++------------ layouts/partials/_current_bestuur.erb | 32 +++++ 3 files changed, 129 insertions(+), 114 deletions(-) create mode 100644 layouts/partials/_current_bestuur.erb diff --git a/content/about/about.erb b/content/about/about.erb index 1c2bb32..ae74dd3 100644 --- a/content/about/about.erb +++ b/content/about/about.erb @@ -34,37 +34,6 @@ narrow_page: true Mail us all at: bestuur@zeus.ugent.be - - - - - - - - - - - <% current_bestuur.each do |lid| %> - - - - - - - <% end %> - -
FunctionNameE-mail
- <%= lid[:rol] %> - - <%= lid[:naam] %> - - <%= lid[:mail] %> - - <% if lid[:mail] %> - - <%= fa :envelope %> - - <% end %> -
+ <%= render '/partials/_current_bestuur.*' %> diff --git a/content/contact.erb b/content/contact.erb index 277f31e..b88841f 100644 --- a/content/contact.erb +++ b/content/contact.erb @@ -10,7 +10,7 @@ contact_links: description: Facebook action: Like us - icon: envelope - link: ../about#board + link: ../contact#board description: Email action: Mail us - icon: twitter @@ -41,98 +41,112 @@ contact_links: <% end %> -

Contact us

-

bleep bloop

- - +
+

Contact us

+

bleep bloop

- -
-
-
- - -
-

Pay us

-
-

- BE32 9799 9370 6502 -

-

- Please include your Tab name in the description of the transaction -

- - <%= fa :euro, fw: true %> Use Tab + +
+ <% end %> + - -
-
-

Find us

-
-

- You can find our hiding place, or what we call 'de kelder' at the basement level of following address: -

-
- Krijgslaan 281
- Campus Sterre S9
- 9000 Gent
-
-
- - <%= fa :'map-marker', fw: true %> Google Maps - - - <%= fa :'map-signs', fw: true %> Soleway + + + + +

Varia

+
+
+
+ + +
+

Pay us

+
+

+ BE32 9799 9370 6502 +

+

+ Please include your Tab name in the description of the transaction +

+ + <%= fa :euro, fw: true %> Use Tab
+ + +
+

Call us

+
+

+ +32 9 264 47 51
+ Intern: 4751 +

+
+
+ + +
+
+

Find us

+
+

+ You can find our hiding place, or what we call 'de kelder' at the basement level of following address: +

+
+ Krijgslaan 281
+ Campus Sterre S9
+ 9000 Gent
+
+ +
-
- -
-
-

Mattermost info

-
-

- You can register with any valid email address. -

+ +
+
+

Mattermost info

+
+

+ You can register with any valid email address. +

+
-
- -
- <%= render '/partials/_map.erb', location: "Zeus WPI" %> -
+ +
+ <%= render '/partials/_map.erb', location: "Zeus WPI" %> +
+
\ No newline at end of file diff --git a/layouts/partials/_current_bestuur.erb b/layouts/partials/_current_bestuur.erb new file mode 100644 index 0000000..782b3ec --- /dev/null +++ b/layouts/partials/_current_bestuur.erb @@ -0,0 +1,32 @@ + + + + + + + + + + + <% current_bestuur.each do |lid| %> + + + + + + + <% end %> + +
FunctionNameE-mail
+ <%= lid[:rol] %> + + <%= lid[:naam] %> + + <%= lid[:mail] %> + + <% if lid[:mail] %> + + <%= fa :envelope %> + + <% end %> +
\ No newline at end of file