summaryrefslogtreecommitdiff
path: root/chimere/templates/detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/detail.html')
-rw-r--r--chimere/templates/detail.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/chimere/templates/detail.html b/chimere/templates/detail.html
index 351ab4e..e387dcc 100644
--- a/chimere/templates/detail.html
+++ b/chimere/templates/detail.html
@@ -4,5 +4,12 @@
{% if marker.picture %}<img src='{{media_path}}{{marker.picture}}' alt='{{marker.name}}'/>{%endif%}
<div>{% for property in marker.getProperties %}
<p id='{{property.propertymodel.getNamedId}}'>{{ property.value|safe }}</p>
-{% endfor %}</div>
+{% endfor %}</div>{% if share_networks %}
+{% if simple %}{% trans "Share on"%}{% for share_network in share_networks %}
+<a href='{{share_network.1}}' onclick='processTinyUrl("{{share_network.1}}", {{marker.id}}); return false;'>{{share_network.0}}</a>
+{% endfor %}{%else%}
+<ul id='share'><li>{% trans "Share"%}</li>{% for share_network in share_networks %}
+<li><a href='{{share_network.1}}' onclick='processTinyUrl("{{share_network.1}}, {{marker.id}}"); return false;'><img src="{{share_network.2}}" alt="{{share_network.0}}"/></a></li>
+{% endfor %}</ul>{% endif %}
+{% endif %}
</div>