diff MoinMoin/templates/modify.html @ 2084:d366d1af5e1e

fixes : Transcluding and Linking subitems bug, changed transcluding and linking buttons to only one InsertName
author Ashutosh Singla <ashu1461@gmail.com>
date Tue, 09 Apr 2013 15:14:08 +0530
parents 490c13d072f2
children 5c4b0703c62a 03efbc0de719
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Mon Apr 08 01:56:51 2013 +0200
+++ b/MoinMoin/templates/modify.html	Tue Apr 09 15:14:08 2013 +0530
@@ -23,11 +23,8 @@
     {% call(fullname, shortname, contenttype, has_children) utils.render_subitem_navigation(item_name, True) %}
         {% set shortname = shortname|json_dumps %}
         {% set fullname = fullname|json_dumps %}
-        <button class="link-action" onclick='linkSubitem({{ shortname }}, {{ fullname }})'
-            title="{{ _('Link to Subitem') }}">{{ _('Link') }}</button>
-        <button class="transclude-action"
-            onclick='transcludeSubitem({{ shortname }}, {{ fullname }})'
-            title="{{ _('Transclude Subitem') }}">{{ _('Transclude') }}</button>
+        <button class="moin-insertname-action" onclick='InsertName({{ fullname }})'
+            title="{{ _('Insert Name') }}">{{ _('Insert Name') }}</button>
     {% endcall %}
 {% endblock %}