<div style="margin: 10px;display:block;text-align:left;float:left;" id="hmlegendicon" ><table border="0" class="ticket_inner legend"><tr><th width="24"><a href="Javascript:void(0);" onclick="document.getElementById('hmlegendicon').style.display='none';document.getElementById('hmlegend').style.display='block';return false;"><img src="images/legend.png" width="16" height="16" alt="[% $user->gettext('Legende anzeigen') %]" title="[% $user->gettext('Legende anzeigen') %]" border="0"  /></a></td><th><a href="Javascript:void(0);" onclick="document.getElementById('hmlegendicon').style.display='none';document.getElementById('hmlegend').style.display='block';return false;">[% $user->gettext('Legende anzeigen') %]</a></th></tr></table></div>
<div style="margin: 10px;display:none;text-align:left;" id="hmlegend">

<style type="text/css">
    table.legend,
    table.legend td,
    table.legend th {
        font-size : 12px;
    }
    
    table.legend th {
        border-bottom : 1px solid #FFF;
    }
</style>

<table border="0" class="ticket_inner legend">
	<tr>
		<th width="24"><a href="Javascript:void(0);" onclick="document.getElementById('hmlegendicon').style.display='block';document.getElementById('hmlegend').style.display='none';return false;"><img src="images/legend_off.png" width="16" height="16" alt="[% $user->gettext('Legende ausblenden') %]" title="[% $user->gettext('Legende ausblenden') %]" border="0" /></a></th>
		<th><a href="Javascript:void(0);" onclick="document.getElementById('hmlegendicon').style.display='block';document.getElementById('hmlegend').style.display='none';return false;">[% $user->gettext('Legende ausblenden') %]</a></th>
	</tr>
</table>

<table border="0" class="ticket_inner legend" width="100%">
	<tr>
		<th colspan="6" style="text-align:left;">[% $user->gettext('Status') %]</th>
	</tr>
    <tr>
		<td></td>
        <td style="text-align:left;"><b>OPEN</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Das Ticket wurde erstellt') %]&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;<b>ASSIGNED</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Das Ticket wurde einem Supporter/Gruppe zugewiesen') %]&nbsp;</td>
    </tr>
    <tr>
		<td></td>
        <td style="text-align:left;"><b>ACTIVE</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Am Ticket wird momentan gearbeitet') %]&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;<b>ONHOLD</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Ticket wurde zurückgestellt') %]&nbsp;</td>
    </tr>
    <tr>
		<td></td>
        <td style="text-align:left;"><b>CLOSED</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Das Ticket wurde als erledigt markiert') %]&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;<b>REOPENED</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Das geschlossene Ticket wurde reaktiviert') %]&nbsp;</td>
    </tr>

    <tr>
        <td></td>
        <td style="text-align:left;"><b>CHANGED</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;" >&nbsp;[% $user->gettext('Das Ticket wurde verändert') %]&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;<b>DONE</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Das Ticket wurde fertig bearbeitet') %]&nbsp;</td>
    </tr>

    <tr>
        <td></td>
        <td style="text-align:left;"><b>RESPONES</b></td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;" >&nbsp;[% $user->gettext('Das Ticket wurde durch den Kontakt bearbeitet') %]&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;&nbsp;</td>
    </tr>
    
    <tr><td colspan="7">&nbsp;</td></tr>
    <tr><td></td><th colspan="6" style="text-align:left;">[% $user->gettext('Priorit&auml;t') %]</th></tr>
    <tr>
		<td></td>
        <td style="text-align:left;" class="prio1">&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">
            &nbsp;
            [% if $hmcompany == 'HOLIDAY AUTOS' %]
                [% $user->gettext('Prio1') %]
            [% else %]
                [% $user->gettext('Niedrig') %]  (<b>N</b>)
            [% /if %]
            &nbsp;
        </td>
        <td style="text-align:left;" class="prio2">&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">
            &nbsp;
            [% if $hmcompany == 'HOLIDAY AUTOS' %]
                [% $user->gettext('Prio2') %]
            [% else %]
                [% $user->gettext('Mittel') %] (<b>M</b>)
            [% /if %]
            &nbsp;
        </td>
    </tr>
    <tr>
		<td></td>
        <td style="text-align:left;" class="prio3">&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">
            &nbsp;
            [% if $hmcompany == 'HOLIDAY AUTOS' %]
                [% $user->gettext('Prio3') %]
            [% else %]
                [% $user->gettext('Hoch') %] (<b>H</b>)
            [% /if %]
            &nbsp;
        </td>
        <td style="text-align:left;" class="prio4">&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">
            &nbsp;
            [% if $hmcompany == 'HOLIDAY AUTOS' %]
                [% $user->gettext('Prio4') %]
            [% else %]
                [% $user->gettext('Dringend') %] (<b>D</b>)
            [% /if %]
            &nbsp;
        </td>
    </tr>
    [% if $hmcompany == 'HOLIDAY AUTOS' %]
        <tr>
			<td></td>
            <td style="text-align:left;" class="prio5">&nbsp;</td>
            <td style="text-align:left;">&nbsp;:&nbsp;</td>
            <td style="text-align:left;">&nbsp;[% $user->gettext('Prio5') %]&nbsp;</td>
            <td style="text-align:left;" class="prio6">&nbsp;</td>
            <td style="text-align:left;">&nbsp;:&nbsp;</td>
            <td style="text-align:left;">&nbsp;[% $user->gettext('Prio6') %]&nbsp;</td>
        </tr>
        <tr>
			<td></td>
            <td style="text-align:left;" class="prio7">&nbsp;</td>
            <td style="text-align:left;">&nbsp;:&nbsp;</td>
            <td style="text-align:left;">&nbsp;[% $user->gettext('Prio7') %]&nbsp;</td>
            <td style="text-align:left;" class="prio8">&nbsp;</td>
            <td style="text-align:left;">&nbsp;:&nbsp;</td>
            <td style="text-align:left;">&nbsp;[% $user->gettext('Prio8') %]&nbsp;</td>
        </tr>
    [% /if %]
    <tr>
    	<td></td>
		[% if $hmcompany == 'HOLIDAY AUTOS' %]
            <td style="text-align:left;" class="prio9">&nbsp;</td>
            <td style="text-align:left;">&nbsp;:&nbsp;</td>
            <td style="text-align:left;">&nbsp;[% $user->gettext('Prio9') %]&nbsp;</td>
        [% /if %]
        <td style="text-align:left;" class="onhold">&nbsp;</td>
        <td style="text-align:left;">&nbsp;:&nbsp;</td>
        <td style="text-align:left;">&nbsp;[% $user->gettext('Ticket wurde zur&uuml;ckgestellt') %]&nbsp;</td>
        [% if $hmcompany != 'HOLIDAY AUTOS' %]
            <td style="text-align:left;" colspan="3">&nbsp;</td>
        [% /if %]
    </tr>
</table>
</div>