X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Ftemplates%2Fplugin.html;h=09509d7d9ee14e1b24c98df338868fcbbe08ce4c;hb=ceaa4271ec96d47dc4e8d1eb727d82364a9032aa;hp=7a09e427f10e078a9d5567911ec84341d4bd77f2;hpb=b709866ba93d98c32127ff4deae5b783e271e5b3;p=myslice.git diff --git a/unfold/templates/plugin.html b/unfold/templates/plugin.html index 7a09e427..09509d7d 100644 --- a/unfold/templates/plugin.html +++ b/unfold/templates/plugin.html @@ -1,22 +1,19 @@ -{##} {% if visible %} -
+
{% if togglable %} - {% if not toggled %} -

Show {{ title }} ({{ classname }})

- - {% else %} - -

Hide {{ title }} ({{ classname }})

- {% endif %}{# toggled #} + + +{% endif %} {% endif %}{# togglable #} {% endif %}{# visible #} -{# plugin #} {% if visible %} -
+
{# plugin-toggle #} {% endif %}{# visible #} -{##}