first stab at querycode - works but one needs to select the lang for now
[unfold.git] / engine / templates / plugin.html
index 19e0b8b..7a09e42 100644 (file)
@@ -1,6 +1,6 @@
 {#<!--begin {{ classname }}{{ domid }}-->#}
 {% if visible %}
-<div class='plugin-toggle need-spin' id='toggle-{{ domid }}'>
+<div class='plugin-toggle{% if need_spin %} need-spin{% endif %}' id='toggle-{{ domid }}'>
 {% if togglable %}
   {% if not toggled %}
 <p id='show-{{ domid }}' class='plugin-show'><i class="icon-hand-right"></i> Show {{ title }} ({{ classname }})</p>