[rt-users] Another Query question: justification of data

Kenneth Crocker kfcrocker at lbl.gov
Mon Oct 18 17:31:53 EDT 2010


Ruslan,

I can't seem to get that to work. What I REALLY want to do is have ALL
Search results align the Ticket ID to the left. I know most people want a
field defined as "Number" to align to the right. But Ticket ID is never used
in arithmetic expressions so there's no reason to treat it like any other
character field and align it to the left or the center. Otherwise, it looks
way out of alignment. When I look at the source code generated for the
results, I get:

<td class="collection-as-table" align="right"><b><a
href="/Ticket/Display.html?id=85141
<view-source:https://rtqt.lbl.gov/Ticket/Display.html?id=85141>">85141</a></b></td>
<td class="collection-as-table" ><b><a
href="/Ticket/Display.html?id=85141
<view-source:https://rtqt.lbl.gov/Ticket/Display.html?id=85141>">Develop
Admin Queries & Dashboards for EHS Queues</a></b></td>

<td class="collection-as-table" >TSG-RT</td>
<td class="collection-as-table" >CPeach at lbl.gov</td>
<td class="collection-as-table" >3</td>
<td class="collection-as-table" >new</td>
<td class="collection-as-table" >Requested</td>
<td class="collection-as-table" >KFCrocker</td>
<td class="collection-as-table" >2010-09-10</a></b></td>

So it looks to me like something it automatically inserting "align=right" in
the "collection-as-table". I went to main.css and tried  changing
"ticket-lists.css" and put a change in it (text-align: left;) for the td
label and it seems to get overridden. Do you know where the code is that
overrides "ticket-lists.css" so I can change that behavior?

Thanks.

Kenn
LBNL


On Mon, Oct 18, 2010 at 12:50 PM, Ruslan Zakirov <ruz at bestpractical.com>wrote:

> Hi,
>
> Use "/ALIGN:..." in a format string.
>
> On Sat, Oct 16, 2010 at 12:27 AM, Kenneth Crocker <kfcrocker at lbl.gov>
> wrote:
> > To List,
> >
> > I noticed that when I run a query, the Ticket number seems to be
> justified
> > to the right of it's column, but Priority Subject, and others are
> justified
> > left. Does anyone know why? Does anyone know how to change that?
> >
> > Kenn
> > LBNL
> >
> >
> > RT Training in Washington DC, USA on Oct 25 & 26 2010
> > Last one this year -- Learn how to get the most out of RT!
> >
>
>
>
> --
> Best regards, Ruslan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101018/e433d299/attachment.htm>


More information about the rt-users mailing list