Roy,<br><br>Thanks. Yea. I think that "Id" should default to the left anyway, but what do I know, huh?<br><br>I'll make that change.<br><br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 2:41 AM, Raed El-Hames <span dir="ltr"><<a href="mailto:Raed.El-Hames@vialtus.com">Raed.El-Hames@vialtus.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;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi
Ken its me again:</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Have
a look at share/html/Elements/ColumnMap</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">#
This is scary and should totally be refactored -- jesse</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">my
$COLUMN_MAP = {</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
id => {</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
attribute => 'id',</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
title => 'id', # loc</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
align => 'right',</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
value => sub { return $_[0]->id }</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
},</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">You
will see the align = ‘right’, you can either remove the whole line
(I do n’t think it will break anything), or you can simply change the
right to left.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Restart
the web server and all should be fine.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">For
me I would remove the align line from there and do this via the css, not sure
which stylesheets you use, If its web2, look in ticket-lists.css for </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">th.collection-as-table
, td.collection-as-table {</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> padding-right:
0.5em;</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">}</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">And
add text-align: left; in between {}</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">This
in theory will apply it to all fields within CollectionList.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Regards;</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Roy</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b>On Behalf Of </b>Kenneth
Crocker<br>
<b>Sent:</b> 18 October 2010 22:32<br>
<b>To:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> Re: [rt-users] Another Query question: justification of data</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Ruslan,<br>
<br>
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:<br>
<span style="font-size: 13.5pt;"><br>
<br>
</span></p>
<pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span><span>align</span>=<span>"right"</span>><<span>b</span>><<span>a</span><span> href</span>="<a>/Ticket/Display.html?id=85141</a>">85141</<span>a</span>></<span>b</span>></<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>><<span>b</span>><<span>a</span><span> href</span>="<a>/Ticket/Display.html?id=85141</a>">Develop Admin Queries &<span>#38;</span> Dashboards for EHS Queues</<span>a</span>></<span>b</span>></<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>>TSG-RT</<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>><a href="mailto:CPeach@lbl.gov" target="_blank">CPeach@lbl.gov</a></<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>>3</<span>td</span>><br>
<<span>td</span><span> class</span>=<span>"collection-as-table" </span>>new</<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>>Requested</<span>td</span>><br>
<<span>td</span><span> class</span>=<span>"collection-as-table" </span>>KFCrocker</<span>td</span>><br>
<br>
</span></pre><pre><span style="font-size: 13.5pt;"><<span>td</span><span> class</span>=<span>"collection-as-table" </span>>2010-09-10</<span>a</span>></<span>b</span>></<span>td</span>></span><br>
<br>
</pre><pre> </pre>
<p class="MsoNormal" style="margin-bottom: 12pt;">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?<br>
<br>
Thanks.<br>
<br>
Kenn<br>
LBNL<br>
<br>
</p>
<div>
<p class="MsoNormal">On Mon, Oct 18, 2010 at 12:50 PM, Ruslan Zakirov <<a href="mailto:ruz@bestpractical.com" target="_blank">ruz@bestpractical.com</a>> wrote:</p>
<p class="MsoNormal">Hi,<br>
<br>
Use "/ALIGN:..." in a format string.</p>
<div>
<div>
<p class="MsoNormal"><br>
On Sat, Oct 16, 2010 at 12:27 AM, Kenneth Crocker <<a href="mailto:kfcrocker@lbl.gov" target="_blank">kfcrocker@lbl.gov</a>> wrote:<br>
> To List,<br>
><br>
> I noticed that when I run a query, the Ticket number seems to be justified<br>
> to the right of it's column, but Priority Subject, and others are
justified<br>
> left. Does anyone know why? Does anyone know how to change that?<br>
><br>
> Kenn<br>
> LBNL<br>
><br>
></p>
</div>
</div>
<p class="MsoNormal">> 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>
<span style="color: rgb(136, 136, 136);"><br>
<br>
<br>
--<br>
Best regards, Ruslan.</span></p>
</div>
<p class="MsoNormal"> </p>
</div></div></div>
</div>
</div>
</blockquote></div><br>