summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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