Integration of general Melange JS utilities in base template.
authorMario Ferraro <fadinlight@gmail.com>
Sun, 25 Oct 2009 19:11:51 +0000
changeset 3040 8f9580309846
parent 3039 14194c0b3cd1
child 3041 c8f47f0b6697
Integration of general Melange JS utilities in base template.
app/soc/templates/soc/base.html
app/soc/views/helper/params.py
--- a/app/soc/templates/soc/base.html	Sun Oct 25 19:09:38 2009 +0000
+++ b/app/soc/templates/soc/base.html	Sun Oct 25 19:11:51 2009 +0000
@@ -99,6 +99,10 @@
   {% if uses_duplicates %}
   <script type="text/javascript" src="/soc/content/js/duplicate-slots-090825.js"></script>
   {% endif %}
+
+  {% if uses_melange %}
+  <script type="text/javascript" src="/soc/content/js/melange-091015.js"></script>
+  {% endif %}
 {% endblock %}
 </head>
 
--- a/app/soc/views/helper/params.py	Sun Oct 25 19:09:38 2009 +0000
+++ b/app/soc/views/helper/params.py	Sun Oct 25 19:11:51 2009 +0000
@@ -19,6 +19,7 @@
 
 __authors__ = [
   '"Madhusudan.C.S" <madhusudancs@gmail.com>',
+  '"Mario Ferraro" <fadinlight@gmail.com>',
   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
   ]
 
@@ -62,6 +63,7 @@
     'jq_thickbox',
     'jq_ui_core',
     'menu',
+    'melange',
     'bulk_review',
     'tinymce',
     ]