From cb0d7389a091eb807d8a54e91d9487470ac362b3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 25 Jun 2009 01:01:18 +0000 Subject: Bug 304267: Large lists in admin pages fail to display (they take too much time) - Patch by Michael Thomas r/a=LpSolit --- template/en/default/admin/milestones/list.html.tmpl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'template/en/default/admin/milestones/list.html.tmpl') diff --git a/template/en/default/admin/milestones/list.html.tmpl b/template/en/default/admin/milestones/list.html.tmpl index 00e5bd922..e1463603c 100644 --- a/template/en/default/admin/milestones/list.html.tmpl +++ b/template/en/default/admin/milestones/list.html.tmpl @@ -77,16 +77,13 @@ }) %] -[%# We want to override the usual 'Delete' link for the default - milestone %] -[% overrides.action = [ { - match_value => product.default_milestone - match_field => 'name' +[%# We want to override the usual 'Delete' link for the default milestone %] +[% overrides.action.name.${product.default_milestone} = { override_content => 1 content => "(Default milestone)" override_contentlink => 1 contentlink => undef - } ] + } %] [% PROCESS admin/table.html.tmpl -- cgit v1.2.3-24-g4f1b