I see that this is the code in /var/www/html/osticket/upload/include/client/tickets.inc.php
Which part should be touched and which variables can be used to customize the view?
<table id="ticketTable" width="800" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th nowrap>
<a href="tickets.php?sort=ID&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf('%s %s', __('Sort By'), __('Ticket ID')); ?>"><?php echo __('Ticket #');?> <i class="icon-sort"></i></a>
</th>
<th width="120">
<a href="tickets.php?sort=date&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf('%s %s', __('Sort By'), __('Date')); ?>"><?php echo __('Create Date');?> <i class="icon-sort"></i></a>
</th>
<th width="100">
<a href="tickets.php?sort=status&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf('%s %s', __('Sort By'), __('Status')); ?>"><?php echo __('Status');?> <i class="icon-sort"></i></a>
</th>
<th width="320">
<a href="tickets.php?sort=subject&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf('%s %s', __('Sort By'), __('Subject')); ?>"><?php echo __('Subject');?> <i class="icon-sort"></i></a>
</th>
<th width="120">
<a href="tickets.php?sort=dept&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf('%s %s', __('Sort By'), __('Department')); ?>"><?php echo __('Department');?> <i class="icon-sort"></i></a>
</th>
</tr>
</thead>
<tbody>
<?php
$subject_field = TicketForm::objects()->one()->getField('subject');
$defaultDept=Dept::getDefaultDeptName(); //Default public dept.
if ($tickets->exists(true)) {
foreach ($tickets as $T) {
$dept = $T['dept__ispublic']
? Dept::getLocalById($T['dept_id'], 'name', $T['dept__name'])
: $defaultDept;
$subject = $subject_field->display(
$subject_field->to_php($T['cdata__subject']) ?: $T['cdata__subject']
);
$status = TicketStatus::getLocalById($T['status_id'], 'value', $T['status__name']);
if (false) // XXX: Reimplement attachment count support
$subject.=' <span class="Icon file"></span>';
$ticketNumber=$T['number'];
if($T['isanswered'] && !strcasecmp($T['status__state'], 'open')) {
$subject="<b>$subject</b>";
$ticketNumber="<b>$ticketNumber</b>";
}
$thisclient->getId() != $T['user_id'] ? $isCollab = true : $isCollab = false;
?>
<tr id="<?php echo $T['ticket_id']; ?>">
<td>
<a class="Icon <?php echo strtolower($T['source']); ?>Ticket" title="<?php echo $T['user__default_email__address']; ?>"
href="tickets.php?id=<?php echo $T['ticket_id']; ?>"><?php echo $ticketNumber; ?></a>
</td>
<td><?php echo Format::date($T['created']); ?></td>
<td><?php echo $status; ?></td>
<td>
<?php if ($isCollab) {?>
<div style="max-height: 1.2em; max-width: 320px;" class="link truncate" href="tickets.php?id=<?php echo $T['ticket_id']; ?>"><i class="icon-group"></i> <?php echo $subject; ?></div>
<?php } else {?>
<div style="max-height: 1.2em; max-width: 320px;" class="link truncate" href="tickets.php?id=<?php echo $T['ticket_id']; ?>"><?php echo $subject; ?></div>
<?php } ?>
</td>
<td><span class="truncate"><?php echo $dept; ?></span></td>
</tr>
<?php
}
} else {
echo '<tr><td colspan="5">'.__('Your query did not match any records').'</td></tr>';
}
?>
</tbody>
</table>