Align row info at top on search results

To list,

I want to modify my search results to always align information at the top of
any row with wrapped info on it. If I have a Custom Field with a lot of text
(2000 chars) in it and include it in a Query, the Ticket ID and other info
could be several lines down in a row when that CF wraps.
Does anyone know how to modify that behavior?

I also think this would be a good “User Preference” setting option.

Thanks.

Kenn
LBNL

To list,

I want to modify my search results to always align information at the top of
any row with wrapped info on it. If I have a Custom Field with a lot of text
(2000 chars) in it and include it in a Query, the Ticket ID and other info
could be several lines down in a row when that CF wraps.
Does anyone know how to modify that behavior?

modify the css (share/html/NoAuth/css/web2/ticket-lists.css) by
creating a file
local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/End with the
following content:

td.collection-as-table {
vertical-align: top;
}

then cleanup mason cache and restart apache :wink:

Emmanuel,

Do I put

td.collection-as-table {
vertical-align: top;
}

as the last line in main.css right after

% $m->callback(CallbackName => ‘End’);

or just before that line, after the last @import

@import “misc.css”; ?

Or do I copy ticket-lists.css from share into /local/html/NoAuth/css/web2
and make that change there?

Kenn
LBNLOn Wed, Sep 29, 2010 at 10:50 PM, Emmanuel Lacour elacour@easter-eggs.comwrote:

On Thu, Sep 23, 2010 at 05:24:31PM -0700, Kenneth Crocker wrote:

To list,

I want to modify my search results to always align information at the top
of
any row with wrapped info on it. If I have a Custom Field with a lot of
text
(2000 chars) in it and include it in a Query, the Ticket ID and other
info
could be several lines down in a row when that CF wraps.
Does anyone know how to modify that behavior?

modify the css (share/html/NoAuth/css/web2/ticket-lists.css) by
creating a file
local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/End with the
following content:

td.collection-as-table {
vertical-align: top;
}

then cleanup mason cache and restart apache :wink:

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Emmanuel,

Do I put

td.collection-as-table {
vertical-align: top;
}

as the last line in main.css right after

% $m->callback(CallbackName => ‘End’);

or just before that line, after the last @import

@import “misc.css”; ?

Or do I copy ticket-lists.css from share into /local/html/NoAuth/css/web2
and make that change there?

don’t copy, just create a new file
local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/End like I
said and put it your css changes as above.

Emmanuel,

Geez. I must be an idiot. It looks (to me) like your asking me to create a
new file named “End” into

local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/” but I see *
main.css* as a file, not a directory. How do I put a file named “End” into
a file that has all those imports, etc?

Kenn
LBNLOn Thu, Sep 30, 2010 at 11:16 AM, Emmanuel Lacour elacour@easter-eggs.comwrote:

On Thu, Sep 30, 2010 at 09:16:07AM -0700, Kenneth Crocker wrote:

Emmanuel,

Do I put

td.collection-as-table {
vertical-align: top;
}

as the last line in main.css right after

% $m->callback(CallbackName => ‘End’);

or just before that line, after the last @import

@import “misc.css”; ?

Or do I copy ticket-lists.css from share into /local/html/NoAuth/css/web2
and make that change there?

don’t copy, just create a new file
local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/End like I
said and put it your css changes as above.

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Emmanuel,

Geez. I must be an idiot. It looks (to me) like your asking me to create a new file named
"End" into

“local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css/” but I see main.css as a file, not
a directory. How do I put a file named “End” into a file that has all those imports, etc?

mkdir -p local/html/Callbacks/MyCallbacks/NoAuth/css/web2/main.css

main.css is a directory name

You may want to take some time and read up on how callbacks work
http://wiki.bestpractical.com/view/CustomizingWithCallbacks

-kevin