[open-ils-commits] r377 - servres/trunk/conifer/syrup/views (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 21 19:17:41 EDT 2009


Author: gfawcett
Date: 2009-04-21 19:17:41 -0400 (Tue, 21 Apr 2009)
New Revision: 377

Modified:
   servres/trunk/conifer/syrup/views/items.py
Log:
fix big cannot-edit-item bug, caused by earlier reloc of all item-based templates.


Modified: servres/trunk/conifer/syrup/views/items.py
===================================================================
--- servres/trunk/conifer/syrup/views/items.py	2009-04-21 14:32:23 UTC (rev 376)
+++ servres/trunk/conifer/syrup/views/items.py	2009-04-21 23:17:41 UTC (rev 377)
@@ -203,7 +203,7 @@
     course = get_object_or_404(models.Course, pk=course_id)
     item = get_object_or_404(models.Item, pk=item_id, course__id=course_id)
     item_type = item.item_type
-    template = 'item_add_%s.xhtml' % item_type.lower()
+    template = 'item/item_add_%s.xhtml' % item_type.lower()
     parent_item = item.parent_heading
 
     if request.method != 'POST':



More information about the open-ils-commits mailing list