summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-04-12 13:13:59 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-04-12 13:13:59 +0200
commitdbe007e7c87790ade92406ddfb32819738026427 (patch)
tree7144fdc97bad54d34dfaf604766e06251744fe43 /source
parent64c6542792e905007a062693cce5f8dd3f1ad5ba (diff)
added recent wiki changes section to frontpage
Diffstat (limited to 'source')
-rw-r--r--source/_wiki_changes.html.erb15
-rw-r--r--source/index.html.erb37
2 files changed, 38 insertions, 14 deletions
diff --git a/source/_wiki_changes.html.erb b/source/_wiki_changes.html.erb
new file mode 100644
index 0000000..a691bfb
--- /dev/null
+++ b/source/_wiki_changes.html.erb
@@ -0,0 +1,15 @@
+<ul>
+ <% wiki_changes.each do |item| %>
+ <li>
+ <%= item.datetime.strftime("%Y-%m-%d %H:%M") %>
+ |
+ <%= link_to_wiki(item.page) %>
+ changed by
+ <%= link_to_wiki(item.username) %>
+ <% if item.changelog %>
+ |
+ <%= item.changelog %>
+ <% end %>
+ </li>
+
+ <% end %>
diff --git a/source/index.html.erb b/source/index.html.erb
index 3b532f1..4ed22a1 100644
--- a/source/index.html.erb
+++ b/source/index.html.erb
@@ -3,26 +3,30 @@ title: sublab - Ein Hackerspace in Leipzig
---
<div>
-
- <h2>
- [ Das sublab - Ein Hackerspace in Leipzig ]
- </h2>
+ <h2>[ Das sublab - Ein Hackerspace in Leipzig ]</h2>
<p>
- Das sublab ist ein <a href="/wiki/Hackerspace">Hackerspace</a>. Es bietet technik- und netzaffinen Menschen aus Leipzig und Umgebung, sowie der
- ganzen Welt einen Ort zum kreativen Ideen- und Erfahrungsaustausch. <%= link_to "Mehr zum sublab", "/ueber.html" %>
+ Das sublab ist ein <a href="/wiki/Hackerspace">Hackerspace</a>. Es bietet technik- und netzaffinen Menschen aus Leipzig und Umgebung, sowie der
+ ganzen Welt einen Ort zum kreativen Ideen- und Erfahrungsaustausch. <%= link_to("Mehr zum sublab", "/ueber.html") %>
</p>
+</div>
+
+<div>
<h3>[ Demnächst im sublab]</h3>
<p>BattleMeshV7 - 12. bis 18. Mai 2014</p>
<p>CryptoCon14 - 22. bis 25. Mai 2014</p>
+</div>
+<div>
<h3>[ Neues aus dem sublab]</h3>
<p><%= link_to "Alle News >>", "/news.html" %></p>
<%= partial "article_summary", collection: blog.articles[0..2] %>
+</div>
+<div>
<h3>[ @sublab tweets]</h3>
<p>
<strong>sublab</strong> @sublab Apr 5<br>
@@ -32,18 +36,23 @@ title: sublab - Ein Hackerspace in Leipzig
<strong>about:radio</strong> @aboutradio Apr 5<br>
Heute von 16-18Uhr: about:radio u.a. zu den Themen: Libre Graphics Meeting in Leipzig, Kamera in der Simildenstrasse
</p>
+</div>
+<div>
+ <h3>[Wiki Aktivität]</h3>
+ <%= partial "wiki_changes" %>
</div>
<div id="links">
- <p>
- <a href="http://c3le.de">c3le</a>
- <a href="http://leipzig.freifunk.net">Freifunk Leipzig</a>
- <a href="https://wiki.fsfe.org/groups/Leipzig">FSFE Leipzig</a>
- <a href="http://hackstatt.org">Hackstatt</a>
- <a href="http://sublab.org/sublounge">sub:lounge</a>
- <a href="http://aboutradio.org">about:radio</a>
- </p>
+ <h3>[Friends & Family]</h3>
+ <ul>
+ <li><a href="http://c3le.de">c3le</a></li>
+ <li><a href="http://leipzig.freifunk.net">Freifunk Leipzig</a></li>
+ <li><a href="https://wiki.fsfe.org/groups/Leipzig">FSFE Leipzig</a></li>
+ <li><a href="http://hackstatt.org">Hackstatt</a></li>
+ <li><a href="http://sublab.org/sublounge">sub:lounge</a></li>
+ <li><a href="http://aboutradio.org">about:radio</a></li>
+ </ul>
</div>