--- a/src/hdalab/templates/renkan_edit.html Thu Aug 28 18:16:02 2014 +0200
+++ b/src/hdalab/templates/renkan_edit.html Fri Aug 29 16:19:31 2014 +0200
@@ -25,7 +25,8 @@
</script>
<script src="{% static 'renkanmanager/lib/require.js' %}"></script>
<script src="{% static 'renkanmanager/lib/renkan/renkan.js' %}"></script>
- <script src="{% static 'hdalab/js/renkan-manual-save.js ' %}"></script>
+ <script src="{% static 'hdalab/js/renkan-manual-save.js' %}"></script>
+ <script src="{% static 'hdalab/js/hdalab-renkan-bins.js' %}"></script>
<script type="text/javascript">
var io_options = {}, dialog=false;
function startRenkan(){
@@ -34,15 +35,14 @@
static_url : "{% static 'renkanmanager/lib/renkan/' %}",
search: [
{
- type: "Ldt"
+ type: "HdaNotices",
+ lang: "{{LANGUAGE_CODE}}",
+ image: "http://digital-impulse.com/wp-content/plugins/smilies-themer/digicons/IronMan.png",
+ url: "{% url 'searchajax' %}"
},
{
type: "Wikipedia",
- lang: "fr"
- },
- {
- type: "Wikipedia",
- lang: "ja"
+ lang: "{{LANGUAGE_CODE}}"
}
],
bins: [
@@ -55,21 +55,13 @@
title: "Histoire des arts",
description: "Portail Histoire des arts sur culture.fr",
image: "http://www.culture.fr/extension/culture_fr/design/culture/images/favicon.ico"
- },
- {
- url: "http://www.google.com/",
- title: "Google",
- description: "Search engine",
- image: "http://www.google.fr/images/srpr/logo4w.png"
- },
- "Polemic Tweet http://www.polemictweet.com",
- "Twitter http://www.twitter.com/"
+ }
]
}
],
/*property_files: [ "data/properties.json" ],
node_fill_color: false*/
- language: "fr"
+ language: "{{LANGUAGE_CODE}}"
});
io_options = { url: "{% url 'renkan_get_put' %}" + window.location.search, user_authenticated: {% if user.is_authenticated %}true{% else %}false{% endif %} };