templates/history/historie.tpl
changeset 4 d9298ea00d20
parent 3 396b6d2e0466
child 5 0cbee2939c40
equal deleted inserted replaced
3:396b6d2e0466 4:d9298ea00d20
     1 <h2 class="text-center">Historie des Tickets Nr. {$ticket->getId()}</h2>
       
     2 <hr/>
       
     3 
       
     4 <table border="1" style="width: 100%">
       
     5     <tr>
       
     6         <th>Aktion</th>
       
     7         <th>Status</th>
       
     8         <th>Benutzer</th>
       
     9         <th>Betreff</th>
       
    10         <th>Nachricht</th>
       
    11         <th>Gesperrt</th>
       
    12         <th>Letzter Zugriff</th>
       
    13     </tr>
       
    14 
       
    15     {foreach $histories as $history}
       
    16         {assign var="coloredRow" value=""}
       
    17         {if $history->getLocked() == 1}
       
    18             {assign var="coloredRow" value=" yellow-row"}
       
    19         {/if}
       
    20 
       
    21         {if $history->getStatus_Id() == $tStatus::GESCHLOSSEN}
       
    22             {assign var="coloredRow" value=" red-row"}
       
    23         {/if}
       
    24         <tr class="clickable{$coloredRow}" id="tid{$ticket->getId()}">
       
    25             <td>{$history->getActionName()}</td>
       
    26             <td>{$history->getStatusName()}</td>
       
    27             <td>{$history->getUsername()}</td>
       
    28             <td>{$history->getSubject()}</td>
       
    29             <td>{$history->getMessage()}</td>
       
    30             <td>{$history->getLocked()}</td>
       
    31             <td>{$history->getLast_Access()}</td>
       
    32         </tr>
       
    33     {/foreach}
       
    34 </table>
       
    35