diff MoinMoin/items/__init__.py @ 1460:157d41b326b1

Rename modify_show_*_selection.html templates to modify_select_*.html
author Cheer Xiao <xiaqqaix@gmail.com>
date Sun, 29 Jul 2012 16:29:47 +0800
parents fc1f874695e1
children bc8a2546468b
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Jul 29 00:45:13 2012 +0800
+++ b/MoinMoin/items/__init__.py	Sun Jul 29 16:29:47 2012 +0800
@@ -563,7 +563,7 @@
         # call this if the item is still empty
         rev_ids = []
         item_templates = self.content.get_templates(self.contenttype)
-        return render_template('modify_show_template_selection.html',
+        return render_template('modify_select_template.html',
                                item_name=self.name,
                                # XXX u'default' should be a constant
                                itemtype=u'default',
@@ -580,7 +580,7 @@
         method = request.method
         if method == 'GET':
             if isinstance(self.content, NonExistentContent):
-                return render_template('modify_show_contenttype_selection.html',
+                return render_template('modify_select_contenttype.html',
                                        item_name=self.name,
                                        # XXX see comment above
                                        itemtype=u'default',
@@ -661,7 +661,7 @@
             (u'ticket', u'Ticket', 'Ticket item'),
         ]
 
-        return render_template('modify_show_itemtype_selection.html',
+        return render_template('modify_select_itemtype.html',
                                item_name=self.name,
                                itemtypes=ITEMTYPES,
                               )