summaryrefslogtreecommitdiff
path: root/sublab_project/templates
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2012-01-16 10:11:27 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-16 18:30:28 +0100
commit94e8ad7c38f3a2efd78e81a2ad74995944a82a8e (patch)
tree63cd27b42183906526fa7b12d7ca4a961b7021a6 /sublab_project/templates
parente4f3aa2ee292367c1f6acb00e99453d25c3f8f0d (diff)
use flatblocks for motd
Diffstat (limited to 'sublab_project/templates')
-rw-r--r--sublab_project/templates/base.html5
-rw-r--r--sublab_project/templates/flatblocks/flatblock.html1
2 files changed, 3 insertions, 3 deletions
diff --git a/sublab_project/templates/base.html b/sublab_project/templates/base.html
index 41b7d59..8dc99b0 100644
--- a/sublab_project/templates/base.html
+++ b/sublab_project/templates/base.html
@@ -1,4 +1,5 @@
{% load host_status %}
+{% load flatblock_tags %}
<!DOCTYPE HTML>
<html>
<head>
@@ -102,9 +103,7 @@
</div>
<hr>
<p class="status">
- {% block motd %}
- sublab website - jetzt mit <a href="http://djangoproject.com/">Django</a>
- {% endblock %}
+ {% flatblock "motd" %}
</p>
<hr>
<a href="/webcam/" class="img"><img src="{{ STATIC_URL }}img/thumb.rack.webcam.jpg" alt="Webcam im Fenster" class="webcamthumb"></a>
diff --git a/sublab_project/templates/flatblocks/flatblock.html b/sublab_project/templates/flatblocks/flatblock.html
new file mode 100644
index 0000000..c926c4a
--- /dev/null
+++ b/sublab_project/templates/flatblocks/flatblock.html
@@ -0,0 +1 @@
+{{ flatblock.content|safe }}