[rt-users] Show updated tickets
Ben Robson
benr at tlcdatasecurity.com.au
Sat Jul 14 02:00:14 EDT 2007
Greetings.
I am attempting to work out how to highlight tickets in searches that
were last updated by someone other than the owner.
So far I have defined css components called .updatedoddline and
.updatedevenline and have also worked out I need to put a test statement
around "$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ?
'oddline' : 'evenline' ) . '" >' );" in
<foobar>/Elements/CollectionAsTable/Row
In pseudo-code what I think I need to wrap around this line (and
similarly with the later line) is:
If ($SearchResult->Owner ne $SearchResult->LastUpdatedBy) {
$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ?
'updatedoddline' : updated'evenline' ) . '" >' );
} else {
$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2
? 'oddline' : 'evenline' ) . '" >' );
}
But what I can't work out is the right syntax/code for
"$SearchResult->Owner" and "$SearchResult->LastUpdatedBy" for the test.
Does anyone have any tips for me?
Thanks,
BenR
****** Internet + Voice + Telephony + IT Services + Hardware/Software ******
February 2007 - Systems integration company TLC IT's product / services
expansion is complete, with the introduction of Voice and Internet services
rounding out their Juniper Elite Security Partnership, Avaya Telephony and
traditional IT Infrastructure support services.
"With the expansion of our business into Telephony and Security over the past 18
months, it made perfect sense to introduce Voice and Data services" stated
Managing Director Alan Champan. "Clients want a single point of contact or more
importantly a single point of responsibility when it comes to managing all these
services, our client enjoy not only the benefits of dealing with one
organisation, but also cost savings by combining all these services, both in
management and direct product costs, it is a win / win situation."
TLC IT is set to become one of the largest IT & T organisations in Australia,
for further information on our services visit www.tlcit.biz or call 03 9922 0000
The information contained in this communication is intended solely for the use of
the individual or entity to whom it is addressed and others authorised to receive
it. It may contain confidential or legally privileged information. If you are
not the intended recipient you are hereby notified that any disclosure, copying,
distribution or taking any action in reliance on the contents of this information
is strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by responding to this email
and then delete it, and any associated attachments, from your system. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070714/bc5b4f25/attachment.htm>
More information about the rt-users
mailing list