summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/rss/templates/rss_descr.html2
-rw-r--r--chimere/templates/404.html3
-rw-r--r--chimere/templates/500.html3
-rw-r--r--chimere/templates/detail.html2
-rw-r--r--chimere/templates/welcome.html2
5 files changed, 3 insertions, 9 deletions
diff --git a/chimere/rss/templates/rss_descr.html b/chimere/rss/templates/rss_descr.html
index 97a9c50..4f75ac6 100644
--- a/chimere/rss/templates/rss_descr.html
+++ b/chimere/rss/templates/rss_descr.html
@@ -3,6 +3,6 @@
<div id='detail_content'>
{% if obj.picture %}<img src='{{obj.picture.url}}' alt="{{obj.name}}"/>{%endif%}
<div>{% for property in obj.getProperties %}
-<p id='{{property.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b i br hr strong em span:style a:href ul li ol h1 h2 h3 h4"|safe }}</p>
+<p id='{{property.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4"|safe }}</p>
{% endfor %}</div>
</div>
diff --git a/chimere/templates/404.html b/chimere/templates/404.html
index d7d0de0..96adb13 100644
--- a/chimere/templates/404.html
+++ b/chimere/templates/404.html
@@ -1,5 +1,2 @@
{% load i18n %}
-{% extends "base.html" %}
-{% block content %}
<h2>{% trans "Page not found" %}</h2>
-{% endblock %}
diff --git a/chimere/templates/500.html b/chimere/templates/500.html
index a230d92..18f6c13 100644
--- a/chimere/templates/500.html
+++ b/chimere/templates/500.html
@@ -1,5 +1,2 @@
{% load i18n %}
-{% extends "base.html" %}
-{% block content %}
<h2>{% trans "Internal server error"%}</h2>
-{% endblock %}
diff --git a/chimere/templates/detail.html b/chimere/templates/detail.html
index cfde67f..a1b61b6 100644
--- a/chimere/templates/detail.html
+++ b/chimere/templates/detail.html
@@ -9,7 +9,7 @@
{% if marker.end_date %} - {{marker.end_date|date:"D d M Y"}}</p>{% endif %}</span>
{% endif %}
{% for property in marker.getProperties %}
-<p id='{{property.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b i br hr strong em span:style a:href ul li ol h1 h2 h3 h4"|safe}}</p>
+<p id='{{property.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4"|safe}}</p>
{% endfor %}
</div>{% if share_networks %}
{% if simple %}{% trans "Share on"%}{% for share_network in share_networks %}
diff --git a/chimere/templates/welcome.html b/chimere/templates/welcome.html
index 36a0b71..cbc9c4c 100644
--- a/chimere/templates/welcome.html
+++ b/chimere/templates/welcome.html
@@ -13,7 +13,7 @@
{% else %}
<h3>{{news.name}} &ndash; {{ 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 i br hr strong em span:style a:href ul li ol h1 h2 h3 h4"|safe }}</p>
+ <p id='{{news.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target 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 %}