summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2008-11-23 22:49:39 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2008-11-23 22:49:39 +0000
commit6990a6a363f8bbf0aeca40a4b57865d4556ef349 (patch)
tree09db1fdc70b224693ad5704a811e0109c14c62e7 /templates
parent4f3c2faf2844c23167c6b79cc6536b7257356d7b (diff)
downloadChimère-6990a6a363f8bbf0aeca40a4b57865d4556ef349.tar.bz2
Chimère-6990a6a363f8bbf0aeca40a4b57865d4556ef349.zip
Add of the welcome page template
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@4 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'templates')
-rw-r--r--templates/welcome.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/welcome.html b/templates/welcome.html
new file mode 100644
index 0000000..d9825cf
--- /dev/null
+++ b/templates/welcome.html
@@ -0,0 +1,14 @@
+{% load i18n %}
+<h2>{% trans "Welcome to Chimère"%}</h2>
+<div id='detail_content'>
+ <p>{% trans "This is the default message. You can overload it by modifying the file welcome.html in the template directory of Chimère. Below this message all news message will be displayed. You can add them in administration pages."%}</p>
+{% if news_lst %}<div class='news'>
+{% for news in news_lst %}
+ <div class='info'>
+ <h3>{{news.title}} - {% trans news.date %}</h3>
+ <p>{{news.content|safe}}</p>
+ </div>
+{%endfor%}
+</div>{%endif%}
+</div>
+<div id='detail_footer'><a href='javascript:hideDetail();'>{% trans "Close" %}</a></div> \ No newline at end of file