blob: d568851e5319be8dc9a7068c92e6ae56914de817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{% load i18n %}
{% load sanitize %}
<div id='welcome' {% if not display %}style='display:None'{%endif%}>
<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'>
{% if news.title %}
<h3>{{news.title}} – {{ news.date }}</h3>
<p>{{news.content|safe}}</p>
{% else %}
<h3>{{news.name}} – {{ news.start_date }}{% if news.end_date %} - {{ news.end_date }}{% endif %}</h3>
{% for property in news.getProperties %}
<p id='{{news.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b a:href ul li ol h1 h2 h3 h4"|safe }}</p>
{% endfor %}
<p class='marker_link'><a href='{{ news.get_absolute_url }}'>{% trans "See it on the map"%}</a></p>
{% endif %}
</div>
{%endfor%}
</div>{%endif%}
</div>
<div class='detail_footer'><a href='javascript:hide("welcome");'>{% trans "Close" %}</a></div>
</div>
|