comparison MoinMoin/templates/modify.html @ 2523:03efbc0de719

Fixes unused variables, unnecessary global functions, variables in the main JS, linter ready, using objects.
author sharky93 <rishabhr123@gmail.com>
date Fri, 21 Jun 2013 02:27:51 +0530
parents d366d1af5e1e
children 9d9f6a7be79e
comparison
equal deleted inserted replaced
2522:ca98fffff8ca 2523:03efbc0de719
20 {% endblock %} 20 {% endblock %}
21 21
22 {% block subitem_navigation %} 22 {% block subitem_navigation %}
23 {% call(fullname, shortname, contenttype, has_children) utils.render_subitem_navigation(item_name, True) %} 23 {% call(fullname, shortname, contenttype, has_children) utils.render_subitem_navigation(item_name, True) %}
24 {% set shortname = shortname|json_dumps %} 24 {% set shortname = shortname|json_dumps %}
25 {% set fullname = fullname|json_dumps %} 25 <button class="moin-insertname-action" data-name="{{ fullname }}"
26 <button class="moin-insertname-action" onclick='InsertName({{ fullname }})'
27 title="{{ _('Insert Name') }}">{{ _('Insert Name') }}</button> 26 title="{{ _('Insert Name') }}">{{ _('Insert Name') }}</button>
28 {% endcall %} 27 {% endcall %}
29 {% endblock %} 28 {% endblock %}
30 29
31 30