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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
60fb3b59
Commit
60fb3b59
authored
Feb 28, 2014
by
Lalit Khattar
Committed by
Frédéric Buclin
Feb 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 536171: Large Text Box should have maxlength and wrap => 1 in buglists
r=LpSolit a=justdave
parent
316c3b70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
table.html.tmpl
template/en/default/list/table.html.tmpl
+6
-2
No files found.
template/en/default/list/table.html.tmpl
View file @
60fb3b59
...
...
@@ -182,8 +182,10 @@
[% FOREACH column = displaycolumns %]
[% col_abbrev = abbrev.$column %]
<td [% 'class="nowrap"' IF NOT col_abbrev.wrap %]
class="bz_[% column FILTER css_class_quote %]_column">
<td class="bz_[% column FILTER css_class_quote %]_column
[%~ ' nowrap' UNLESS col_abbrev.wrap
OR bug_fields.$column.type == constants.FIELD_TYPE_FREETEXT
OR bug_fields.$column.type == constants.FIELD_TYPE_TEXTAREA %]">
[% IF col_abbrev.maxlength %]
<span title="[%- display_value(column, bug.$column) FILTER html %]">
[% END %]
...
...
@@ -206,6 +208,8 @@
<a href="show_bug.cgi?id=[% bug.$column FILTER html %]">
[%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
</a>
[% ELSIF bug_fields.$column.type == constants.FIELD_TYPE_TEXTAREA %]
[%- bug.$column.truncate(256, '...') FILTER html -%]
[% ELSIF column == 'bug_file_loc' && is_safe_url(bug.bug_file_loc) %]
<a href="[% bug.bug_file_loc FILTER html %]" target="_blank"
title="[% bug.bug_file_loc FILTER html %]">
...
...
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