Ruslan,<br><br>I think that makes sense in most cases. The problem is, Ticket Id is not for arithmetic expression. No addition, no decimal alignment, etc. just a number. So it is used/displayed like it is a character so I think it would at least LOOK better if it was aligned to the left. Just an opinion.<br>
<br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 6:18 PM, Ruslan Zakirov <span dir="ltr"><<a href="mailto:ruz@bestpractical.com">ruz@bestpractical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p>Usually numbers are right aligned in tables, but it's not always followed in rt.</p>
<p>Regards, Ruslan. From phone.</p>
<div class="gmail_quote">2010 10 19 21:15 пользователь "Kenneth Crocker" <<a href="mailto:kfcrocker@lbl.gov" target="_blank">kfcrocker@lbl.gov</a>> написал:<div><div></div><div class="h5"><br type="attribution">
> Roy,<br>> <br>> Thanks. Yea. I think that "Id" should default to the left anyway, but what<br>
> do I know, huh?<br>> <br>> I'll make that change.<br>> <br>> Kenn<br>> LBNL<br>> <br>> On Tue, Oct 19, 2010 at 2:41 AM, Raed El-Hames <<a href="mailto:Raed.El-Hames@vialtus.com" target="_blank">Raed.El-Hames@vialtus.com</a>>wrote:<br>

> <br>>>  Hi Ken its me again:<br>>><br>>><br>>><br>>> Have a look at share/html/Elements/ColumnMap<br>>><br>>> # This is scary and should totally be refactored -- jesse<br>>><br>

>> my $COLUMN_MAP = {<br>>><br>>>     id => {<br>>><br>>>         attribute => 'id',<br>>><br>>>         title    => 'id', # loc<br>>><br>>>         align     => 'right',<br>

>><br>>>         value     => sub { return $_[0]->id }<br>>><br>>>     },<br>>><br>>><br>>><br>>><br>>><br>>> You will see the align = ‘right’, you can either remove the whole line (I<br>

>> do n’t think it will break anything), or you can simply change the right to<br>>> left.<br>>><br>>> Restart the web server and all should be fine.<br>>><br>>><br>>><br>>> For me I would remove the align line from there and do this via the css,<br>

>> not sure which stylesheets you use, If its web2, look in ticket-lists.css<br>>> for<br>>><br>>> th.collection-as-table , td.collection-as-table {<br>>><br>>>  padding-right: 0.5em;<br>

>><br>>> }<br>>><br>>> And add text-align: left; in between {}<br>>><br>>> This in theory will apply it to all fields within CollectionList.<br>>><br>>><br>>><br>>> Regards;<br>

>><br>>> Roy<br>>><br>>><br>>><br>>><br>>><br>>> *From:* <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a> [mailto:<br>
>> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] *On Behalf Of *Kenneth Crocker<br>
>> *Sent:* 18 October 2010 22:32<br>>> *To:* <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>>> *Subject:* Re: [rt-users] Another Query question: justification of data<br>

>><br>>><br>>><br>>> Ruslan,<br>>><br>>> I can't seem to get that to work. What I REALLY want to do is have ALL<br>>> Search results align the Ticket ID to the left. I know most people want a<br>

>> field defined as "Number" to align to the right. But Ticket ID is never used<br>>> in arithmetic expressions so there's no reason to treat it like any other<br>>> character field and align it to the left or the center. Otherwise, it looks<br>

>> way out of alignment. When I look at the source code generated for the<br>>> results, I get:<br>>><br>>><br>>>  <td class="collection-as-table" align="right"><b><a href="/Ticket/Display.html?id=85141">85141</a></b></td><br>

>><br>>> <td class="collection-as-table" ><b><a href="/Ticket/Display.html?id=85141">Develop Admin Queries &#38; Dashboards for EHS Queues</a></b></td><br>

>><br>>> <td class="collection-as-table" >TSG-RT</td><br>>><br>>> <td class="collection-as-table" ><a href="mailto:CPeach@lbl.gov" target="_blank">CPeach@lbl.gov</a></td><br>

>><br>>> <td class="collection-as-table" >3</td><br>>><br>>> <td class="collection-as-table" >new</td><br>>><br>>> <td class="collection-as-table" >Requested</td><br>

>><br>>> <td class="collection-as-table" >KFCrocker</td><br>>><br>>> <td class="collection-as-table" >2010-09-10</a></b></td><br>>><br>

>><br>>><br>>> So it looks to me like something it automatically inserting "align=right"<br>>> in the "collection-as-table". I went to main.css and tried  changing<br>>> "ticket-lists.css" and put a change in it (text-align: left;) for the td<br>

>> label and it seems to get overridden. Do you know where the code is that<br>>> overrides "ticket-lists.css" so I can change that behavior?<br>>><br>>> Thanks.<br>>><br>>> Kenn<br>

>> LBNL<br>>><br>>>  On Mon, Oct 18, 2010 at 12:50 PM, Ruslan Zakirov <<a href="mailto:ruz@bestpractical.com" target="_blank">ruz@bestpractical.com</a>><br>>> wrote:<br>>><br>>> Hi,<br>
>><br>
>> Use "/ALIGN:..." in a format string.<br>>><br>>><br>>> On Sat, Oct 16, 2010 at 12:27 AM, Kenneth Crocker <<a href="mailto:kfcrocker@lbl.gov" target="_blank">kfcrocker@lbl.gov</a>><br>
>> wrote:<br>
>> > To List,<br>>> ><br>>> > I noticed that when I run a query, the Ticket number seems to be<br>>> justified<br>>> > to the right of it's column, but Priority Subject, and others are<br>

>> justified<br>>> > left. Does anyone know why? Does anyone know how to change that?<br>>> ><br>>> > Kenn<br>>> > LBNL<br>>> ><br>>> ><br>>><br>>> > RT Training in Washington DC, USA on Oct 25 & 26 2010<br>

>> > Last one this year -- Learn how to get the most out of RT!<br>>> ><br>>><br>>><br>>><br>>> --<br>>> Best regards, Ruslan.<br>>><br>>><br>>><br></div>
</div></div>
</blockquote></div><br>