<div class="card-body">
    <table class="table table-condensed" id="SimilarTicketsTable">
        <thead>
            <th>[% $user->gettext('ID') %]</th>
            <th>[% $user->gettext('Beschreibung') %]</th>
            [% if $betriebsstunden %]<th>[% $user->gettext('Betriebstunden') %]</th>[% /if %]
            <th>[% $user->gettext('Bewertung') %]</th>
            <th>[% $user->gettext('Erstelldatum') %]</th>
            <th>[% $user->gettext('Asset') %]</th>
          
        </thead>                    
        <tbody>
            [% foreach from=$SimilarTickets item=$ticket %]
                <tr>
                    <td>
                        <a href="index.php?module=ticket&event=show&id=[% $ticket.id %]" target="_blank">
                            #[% $ticket.id %]    
                        </a>                        
                    </td>
                    <td>[% $ticket.ticketdescr %]</td>
                    [% if $betriebsstunden %]<td>[% $ticket.betriebsstunden %]</td>[% /if %]
                    <td>[% $ticket.avgrating %]</td>
                    <td>[% $ticket.createdate|date_format:'d.m.Y H:i:s' %]</td>
                    <td>[% $ticket.devicename %]</td>
                </tr>
            
            [% /foreach%]
        </tbody>
    </table>                                        
</div>