Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
aa7127c2
Commit
aa7127c2
authored
Jul 01, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 150770 - Lost <nobr> arround query results
r=jouni, justdave
parent
3d5db0fc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
15 deletions
+11
-15
checksetup.pl
checksetup.pl
+0
-1
globals.pl
globals.pl
+0
-9
004template.t
t/004template.t
+0
-1
useful-links.html.tmpl
template/en/default/global/useful-links.html.tmpl
+3
-1
table.html.tmpl
template/en/default/list/table.html.tmpl
+8
-3
No files found.
checksetup.pl
View file @
aa7127c2
...
@@ -882,7 +882,6 @@ END
...
@@ -882,7 +882,6 @@ END
js
=>
sub
{
return
$_
;
},
js
=>
sub
{
return
$_
;
},
html
=>
sub
{
return
$_
;
},
html
=>
sub
{
return
$_
;
},
url_quote
=>
sub
{
return
$_
;
},
url_quote
=>
sub
{
return
$_
;
},
no_break
=>
sub
{
return
$_
;
}
},
},
})
||
die
(
"Could not create Template: "
.
Template
->
error
()
.
"\n"
);
})
||
die
(
"Could not create Template: "
.
Template
->
error
()
.
"\n"
);
...
...
globals.pl
View file @
aa7127c2
...
@@ -1568,15 +1568,6 @@ $::template ||= Template->new(
...
@@ -1568,15 +1568,6 @@ $::template ||= Template->new(
# filter should be used for a full URL that may have
# filter should be used for a full URL that may have
# characters that need encoding.
# characters that need encoding.
url_quote
=>
\&
url_quote
,
url_quote
=>
\&
url_quote
,
# Returns the text with spaces converted to non-breaking space
# HTML entities.
no_break
=>
sub
{
my
(
$var
)
=
@_
;
$var
=~
s/ /\ /g
;
return
$var
;
}
,
}
,
}
,
}
}
)
||
DisplayError
(
"Template creation failed: "
.
Template
->
error
())
)
||
DisplayError
(
"Template creation failed: "
.
Template
->
error
())
...
...
t/004template.t
View file @
aa7127c2
...
@@ -80,7 +80,6 @@ my $template = Template->new(
...
@@ -80,7 +80,6 @@ my $template = Template->new(
js
=>
sub
{
return
$_
}
,
js
=>
sub
{
return
$_
}
,
strike
=>
sub
{
return
$_
}
,
strike
=>
sub
{
return
$_
}
,
url_quote
=>
sub
{
return
$_
}
,
url_quote
=>
sub
{
return
$_
}
,
no_break
=>
sub
{
return
$_
}
,
},
},
}
}
);
);
...
...
template/en/default/global/useful-links.html.tmpl
View file @
aa7127c2
...
@@ -106,7 +106,9 @@
...
@@ -106,7 +106,9 @@
[% FOREACH q = user.queries %]
[% FOREACH q = user.queries %]
[% IF q.linkinfooter %]
[% IF q.linkinfooter %]
[% " | " IF print_pipe %]
[% " | " IF print_pipe %]
<a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]">[% q.name FILTER html FILTER no_break %]</a>
<a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]">
<nobr>[% q.name FILTER html %]</nobr>
</a>
[% print_pipe = 1 %]
[% print_pipe = 1 %]
[% END %]
[% END %]
[% END %]
[% END %]
...
...
template/en/default/list/table.html.tmpl
View file @
aa7127c2
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
# the shortened title is included. For columns whose values should be
# the shortened title is included. For columns whose values should be
# abbreviated, a maximum length is provided along with the ellipsis that
# abbreviated, a maximum length is provided along with the ellipsis that
# should be added to an abbreviated value, if any.
# should be added to an abbreviated value, if any.
# wrap is set if a column's contents should be allowed to be word-wrapped
# by the browser.
#%]
#%]
[% abbrev =
[% abbrev =
{
{
...
@@ -39,8 +41,9 @@
...
@@ -39,8 +41,9 @@
"owner" => { maxlength => 30 , ellipsis => "..." } ,
"owner" => { maxlength => 30 , ellipsis => "..." } ,
"qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } ,
"qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } ,
"resolution" => { maxlength => 4 } ,
"resolution" => { maxlength => 4 } ,
"summary" => { maxlength => 60 , ellipsis => "..." } ,
"summary" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } ,
"status_whiteboard" => { title => "StatusSummary" } ,
"summaryfull" => { wrap => 1 } ,
"status_whiteboard" => { title => "StatusSummary" , wrap => 1 } ,
"component" => { maxlength => 8 , title => "Comp" } ,
"component" => { maxlength => 8 , title => "Comp" } ,
"product" => { maxlength => 8 } ,
"product" => { maxlength => 8 } ,
"version" => { maxlength => 5 , title => "Vers" } ,
"version" => { maxlength => 5 , title => "Vers" } ,
...
@@ -128,7 +131,9 @@
...
@@ -128,7 +131,9 @@
[% FOREACH column = displaycolumns %]
[% FOREACH column = displaycolumns %]
<td>
<td>
[%+ bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
[% '<nobr>' IF NOT abbrev.$column.wrap %]
[%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
[%- '</nobr>' IF NOT abbrev.$column.wrap %]
</td>
</td>
[% END %]
[% END %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment