summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/table.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/list/table.html.tmpl')
-rw-r--r--template/en/default/list/table.html.tmpl17
1 files changed, 10 insertions, 7 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 282ea51..88fae24 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -45,7 +45,7 @@
[% abbrev =
{
"bug_severity" => { maxlength => 3 , title => "Sev" } ,
- "priority" => { maxlength => 3 , title => "Pri" } ,
+ "priority" => { maxlength => 7 , title => "Pri" } ,
"rep_platform" => { maxlength => 3 , title => "Plt" } ,
"bug_status" => { maxlength => 4 } ,
"assigned_to" => { maxlength => 30 , ellipsis => "..." } ,
@@ -64,6 +64,7 @@
"product" => { maxlength => 8 } ,
"version" => { maxlength => 5 , title => "Vers" } ,
"op_sys" => { maxlength => 4 } ,
+ "bug_file_loc" => { maxlength => 30 } ,
"target_milestone" => { title => "TargetM" } ,
"percentage_complete" => { format_value => "%d %%" } ,
}
@@ -71,6 +72,8 @@
[% PROCESS bug/time.html.tmpl %]
+[% Hook.process("before_table") %]
+
[%############################################################################%]
[%# Table Header #%]
[%############################################################################%]
@@ -162,14 +165,12 @@
[%# Bug Table #%]
[%############################################################################%]
-[% Hook.process("before_table") %]
-
[% tableheader %]
[% FOREACH bug = bugs %]
[% count = loop.count() %]
- <tr class="bz_bugitem
+ <tr id="b[% bug.bug_id %]" class="bz_bugitem
bz_[% bug.bug_severity FILTER css_class_quote -%]
bz_[% bug.priority FILTER css_class_quote -%]
bz_[% bug.bug_status FILTER css_class_quote -%]
@@ -185,8 +186,7 @@
</td>
[% END %]
<td class="first-child bz_id_column">
- <a name="b[% bug.bug_id %]"
- href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
+ <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
<span style="display: none">[%+ '[SEC]' IF bug.secure_mode %]</span>
</td>
@@ -207,7 +207,10 @@
[% SET login_column = column.remove('_realname$') %]
[% bug.${login_column}.truncate(abbrev.$column.maxlength,
abbrev.$column.ellipsis) FILTER html %]
-
+ [% ELSIF column == 'short_desc' || column == "short_short_desc" %]
+ <a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">
+ [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
+ </a>
[% ELSE %]
[%- display_value(column, bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
[% END %]