Skip to content

Commit

Permalink
move the list of earlier events to a yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Dec 3, 2010
1 parent bdb98a2 commit 732c43b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
35 changes: 35 additions & 0 deletions data/earlier_events.yml
@@ -0,0 +1,35 @@
---
- date: 2010.02.6-7
title: FOSDEM
address: Brussels, Belgium
- date: 2010.03.2-6
title: CeBIT
address: Hannover, Germany
- date: 2010.06.7-9
title: German Perl Workshop
address: Schorndorf (near Stuttgart), Germany
- date: 2010.06.9-12
title: LinuxTag
address: Berlin, Germany
- date: 2010.06.21-23
title: YAPC::NA
address: Columbus, Ohio, USA
- date: 2010.06.26
title: Belgian Perl Workshop
address: Brussels, Belgium
- date: 2010.08.4-6
title: YAPC::EU
address: Pisa, Italy
- date: 2010.08.21-22
title: FrOSCon
address: St Augustin, Germany
- date: 2010.09.17-18
title: FrOSCamp
address: Zurich, Switzerland
- date: 2010.10.20
title: The establishment of the Perl Ecosystem Group
address:
- date: 2010.11.6-7
title: T-Does
address: Eindhoven, The Netherlands

2 changes: 2 additions & 0 deletions lib/PEG.pm
Expand Up @@ -148,10 +148,12 @@ get '/rss' => sub {


get '/earlier_events' => sub {
my $events = YAML::LoadFile(path config->{appdir}, 'data', 'earlier_events.yml');
template 'earlier_events', {
title => 'Earlier events',
subtitle => 'Earlier events',
description => 'A list of events we participated at. Even before the Perl Ecosystem Group was setup',
events => $events,
};
};

Expand Down
15 changes: 3 additions & 12 deletions views/earlier_events.tt
Expand Up @@ -7,18 +7,9 @@ List of events where we have already participated even before the formation of t

<div id="schedule">
<ul>
<li><ul><li>2010.02.6-7</li><li>FOSDEM, Brussels, Belgium</li></ul></li>
<li><ul><li>2010.03.2-6</li><li>CeBIT, Hannover, Germany</li></ul></li>
<li><ul><li>2010.06.7-9</li><li>German Perl Workshop, Schorndorf (near Stuttgart), Germany</li></ul></li>
<li><ul><li>2010.06.9-12</li><li>LinuxTag, Berlin, Germany</li></ul></li>
<li><ul><li>2010.06.21-23</li><li>YAPC::NA, Columbus, Ohio, USA</li></ul></li>
<li><ul><li>2010.06.26</li><li>Belgian Perl Workshop, Brussels, Belgium</li></ul></li>
<li><ul><li>2010.08.4-6</li><li>YAPC::EU, Pisa, Italy</li></ul></li>
<li><ul><li>2010.08.21-22</li><li>FrOSCon, St Augustin, Germany</li></ul></li>
<li><ul><li>2010.09.17-18</li><li>FrOSCamp, Zurich, Switzerland</li></ul></li>
<!-- <li><ul><li>2010.11.6</li><li>7. Brandenburger Linux-Infotage, Potsdam, Germany</li></ul></li> -->
<li>The establishment of the Perl Ecosystem Group</li>
<li><ul><li>2010.11.6-7</li><li>T-Does, Eindhoven, The Netherlands</li></ul></li>
<% FOR e IN events %>
<li><ul><li><% e.date %></li><li><% e.title %>, <% e.address %></li></ul></li>
<% END %>
</ul>
</div>

Expand Down

0 comments on commit 732c43b

Please sign in to comment.