summaryrefslogtreecommitdiff
path: root/source/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'source/index.html.haml')
-rw-r--r--source/index.html.haml30
1 files changed, 18 insertions, 12 deletions
diff --git a/source/index.html.haml b/source/index.html.haml
index 0bba68b..947653e 100644
--- a/source/index.html.haml
+++ b/source/index.html.haml
@@ -37,18 +37,24 @@ title: sublab - Ein Hackerspace in Leipzig
.row
.columns
%h3 @sublab tweets
- %p
- %strong sublab
- @sublab Apr 5
- %br/
- WTF? LOL!
- %p
- %strong about:radio
- @aboutradio Apr 5
- %br/
- Heute von 16-18Uhr: about:radio u.a. zu den Themen: Libre Graphics Meeting in Leipzig, Kamera in der Simildenstrasse
-
+ - data.tweets.map {|atts| Tweet.new(atts) }.each do |tweet|
+ %p
+ %strong= tweet.user_name
+ = tweet.user_screen_name
+ = tweet.created_at
+ %br
+ = tweet.text
.row
.columns
%h3 Wiki Aktivität
- = partial "wiki_changes"
+ %ul
+ - wiki_changes.each do |item|
+ %li
+ = item.datetime
+ |
+ = link_to_wiki(item.page)
+ changed by
+ = link_to_wiki(item.username)
+ - if item.changelog
+ |
+ = item.changelog