diff share/roundup/templates/devel/html/page.html @ 5133:85eee1f236b2

I had an incorrect fix for issue2550601. Changed schema to define class patches not patch. Changed commented out patches section in bug.item.html to use patches-1 an not patch-1 as a result of schema changes. The show open Milestones link had a leak of the @group value. If you clicked on show open tasks or show open bugs they group by priority. The url being formed for show open milestones was inheriting the @group if you were on an index page for bugs or milestones. Explicit set the @group to status (which a milestone does have) prevents the @group=priority from being applied to a milestone index page which results in a red error banner stating priority is an invalid param for milestones. ./demo.py -t devel now runs without obvious breakage.
author John Rouillard <rouilj@ieee.org>
date Mon, 04 Jul 2016 18:19:51 -0400
parents 894aa07be6cb
children ce5512002629
line wrap: on
line diff
--- a/share/roundup/templates/devel/html/page.html	Mon Jul 04 15:14:54 2016 -0400
+++ b/share/roundup/templates/devel/html/page.html	Mon Jul 04 18:19:51 2016 -0400
@@ -144,6 +144,7 @@
                                 'status': milestone_status_notclosed,
                                 '@dispname': i18n.gettext('Show Open'),
                                 '@startwith': 0,
+                                '@group': 'status',
                                 })"
                 i18n:translate="">Show Open</a>
        </li>
@@ -429,3 +430,4 @@
     <input metal:define-macro="user_confirm_input" type="password"
     tal:attributes="id name; name string:@confirm@$name; readonly not:edit_ok" value=""/>
 
+<!-- SHA: ca32e5f43efcb7c3b4940df6f7a176f6990b15f0 -->

Roundup Issue Tracker: http://roundup-tracker.org/