summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-09-28 23:43:18 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-09-28 23:43:18 +0200
commitf0dae89d68bc2eda94e141494aa69181824acbfd (patch)
treef51b034b24522429c996e34a7e3ef0a64b8747a0
parent8b4b41b48369c488a3ed37cee42ce345d9814b20 (diff)
downloadChimère - projet Saclay-f0dae89d68bc2eda94e141494aa69181824acbfd.tar.bz2
Chimère - projet Saclay-f0dae89d68bc2eda94e141494aa69181824acbfd.zip
retrait du rss sur le détail
-rw-r--r--templates/chimere/blocks/share_bar.html2
-rw-r--r--templates/chimere/detail.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/chimere/blocks/share_bar.html b/templates/chimere/blocks/share_bar.html
index aaa9fc4..b23c9e2 100644
--- a/templates/chimere/blocks/share_bar.html
+++ b/templates/chimere/blocks/share_bar.html
@@ -8,7 +8,7 @@
{% if not email_only %}<li class='share-icon'><a href="#">{% trans "Share" %}</a></li>{% for share_network in share_networks %}
<li class='shared'><a class='share_link share_id_{{share_network.0}}' href='{{share_network.1}}'><img src="{{share_network.2}}" alt="{{share_network.0}}"/></a></li>
{% endfor %}
- <li class='shared'><a href='{% url chimere:feeds-global %}'><img src='{{STATIC_URL}}chimere/img/feed.png' alt='Feeds'/></a></li>{%endif%}
+ {% if rss %}<li class='shared'><a href='{% url chimere:feeds-global %}'><img src='{{STATIC_URL}}chimere/img/feed.png' alt='Feeds'/></a></li>{% endif %}{%endif%}
</ul>{% endif %}
<script type='text/javascript'>
<!--
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html
index e8a95d4..ff5b9fd 100644
--- a/templates/chimere/detail.html
+++ b/templates/chimere/detail.html
@@ -39,7 +39,7 @@
<li><a href="{{modif_by_email}}">{% trans "Propose a modification" %}</a></li>
<li class='sep'>&ndash;</li>
</ul>
- {% share_bar marker.name %}
+ {% share_bar marker.name '' '' %}
{% comment %}
<a href='{% if marker.route %}{% url chimere:editroute-item area_name_slash|default_if_none:"" marker.route.pk "" %}{%else%}{% url chimere:edit-item area_name_slash|default_if_none:"" marker.pk "" %}{%endif%}'>
{% trans "Submit a modification" %}