summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-04-26 09:41:37 +0200
committermyk%mozilla.org <>2002-04-26 09:41:37 +0200
commitfe882676f7f777e1aad35665773c5a56224f63cb (patch)
tree12093ad9738e0da833682b21aab2df564b092cae /template/en
parentf660ec1ccef3c33e9e8bc9d67d9fb6df07d463c0 (diff)
downloadbugzilla-fe882676f7f777e1aad35665773c5a56224f63cb.tar.gz
bugzilla-fe882676f7f777e1aad35665773c5a56224f63cb.tar.xz
Fix for bug 139588: changes "size" to "maxlength" in abbreviations hash since "size" is a hash built-in method in Template Toolkit 2.07
Patch by Gerv <gerv@gerv.net> r=ddk,myk
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/list/table.html.tmpl28
1 files changed, 14 insertions, 14 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 230fb0875..d4dcd0644 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -31,20 +31,20 @@
#%]
[% abbrev =
{
- "severity" => { size => 3 , title => "Sev" } ,
- "priority" => { size => 3 , title => "Pri" } ,
- "platform" => { size => 3 , title => "Plt" } ,
- "status" => { size => 4 } ,
- "reporter" => { size => 45 , ellipsis => "..." } ,
- "owner" => { size => 45 , ellipsis => "..." } ,
- "qa_contact" => { size => 45 , ellipsis => "..." , title => "QAContact" } ,
- "resolution" => { size => 4 } ,
- "summary" => { size => 60 , ellipsis => "..." } ,
+ "severity" => { maxlength => 3 , title => "Sev" } ,
+ "priority" => { maxlength => 3 , title => "Pri" } ,
+ "platform" => { maxlength => 3 , title => "Plt" } ,
+ "status" => { maxlength => 4 } ,
+ "reporter" => { maxlength => 45 , ellipsis => "..." } ,
+ "owner" => { maxlength => 45 , ellipsis => "..." } ,
+ "qa_contact" => { maxlength => 45 , ellipsis => "..." , title => "QAContact" } ,
+ "resolution" => { maxlength => 4 } ,
+ "summary" => { maxlength => 60 , ellipsis => "..." } ,
"status_whiteboard" => { title => "StatusSummary" } ,
- "component" => { size => 8 , title => "Comp" } ,
- "product" => { size => 8 } ,
- "version" => { size => 5 , title => "Vers" } ,
- "os" => { size => 4 } ,
+ "component" => { maxlength => 8 , title => "Comp" } ,
+ "product" => { maxlength => 8 } ,
+ "version" => { maxlength => 5 , title => "Vers" } ,
+ "os" => { maxlength => 4 } ,
"target_milestone" => { title => "TargetM" } ,
}
%]
@@ -128,7 +128,7 @@
[% FOREACH column = displaycolumns %]
<td>
- [%+ bug.$column.truncate(abbrev.$column.size, abbrev.$column.ellipsis) FILTER html %]
+ [%+ bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
</td>
[% END %]