<h2 class="text-center">Historie des Tickets Nr. {$ticket->getId()}</h2>
<hr/>
<table border="1" style="width: 100%">
<tr>
<th>Aktion</th>
<th>Status</th>
<th>Benutzer</th>
<th>Betreff</th>
<th>Nachricht</th>
<th>Gesperrt</th>
<th>Letzter Zugriff</th>
</tr>
{foreach $histories as $history}
{assign var="coloredRow" value=""}
{if $history->getLocked() == 1}
{assign var="coloredRow" value=" yellow-row"}
{/if}
{if $history->getStatus_Id() == $tStatus::GESCHLOSSEN}
{assign var="coloredRow" value=" red-row"}
{/if}
<tr class="clickable{$coloredRow}" id="tid{$ticket->getId()}">
<td>{$history->getActionName()}</td>
<td>{$history->getStatusName()}</td>
<td>{$history->getUsername()}</td>
<td>{$history->getSubject()}</td>
<td>{$history->getMessage()}</td>
<td>{$history->getLocked()}</td>
<td>{$history->getLast_Access()}</td>
</tr>
{/foreach}
</table>