Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
interduo committed Dec 17, 2018
1 parent 011a208 commit 4d3b4c9
Showing 1 changed file with 31 additions and 27 deletions.
58 changes: 31 additions & 27 deletions templates/default/rt/rtticketinfobox.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
<TR>
<TD style="width: 50%;">
<TABLE class="lmsbox-innerbox">
<COLSPAN>
<COLGROUP>
<COL style="width:1%">
<COL style="width:99%">
</COLSPAN>
</COLGROUP>
<TR>
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-subject"></i>{trans("Subject:")}
Expand Down Expand Up @@ -159,11 +159,15 @@
</TD>
<TD style="width: 50%;" class="valign-top">
<TABLE>
<COLGROUP>
<COL style="width:1%">
<COL style="width:99%">
</COLGROUP>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-owner"></i>{trans("Owner:")}
</TD>
<TD style="width: 99%;">
<TD>
{if $ticket.owner}
<A href="?m=userinfo&id={$ticket.owner}">{$ticket.ownername}</A>
{else}
Expand All @@ -172,10 +176,10 @@
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-verifier"></i>{trans("Verifier:")}
</TD>
<TD style="width: 99%;">
<TD>
{if $ticket.verifierid}
<A href="?m=userinfo&id={$ticket.verifierid}">{$ticket.verifier_username}</A>
{else}
Expand All @@ -184,10 +188,10 @@
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-timetable"></i>{trans("<!rt>Deadline:")}
</TD>
<TD style="width: 99%;">
<TD>
{if $ticket.deadline}
{$ticket.deadline|date_format:"%Y/%m/%d %H:%M:%S"}
{else}
Expand All @@ -196,67 +200,67 @@
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-queue"></i>{trans("Queue:")}
</TD>
<TD style="width: 99%;">
<TD>
<A href="?m=rtqueueview&amp;id={$ticket.queueid}">{$ticket.queuename}</A>
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-status"></i>{trans("Status:")}
</TD>
<TD style="width: 99%;">
<TD>
{$_RT_STATES[$ticket.state].label}
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-cause"></i>{trans("Cause:")}
</TD>
<TD style="width: 99%;">
<TD>
{if $ticket.cause==2}{trans("company's side")}
{elseif $ticket.cause==1}{trans("customer's side")}
{else}{trans("unknown/other")}{/if}
</TD>
</TR>
{if $ticket.deleted == 1 && (ConfigHelper::checkPrivilege('helpdesk_advanced_operations'))}
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-user"></i>{trans("Remover:")}
</TD>
<TD style="width: 99%;">
<TD>
<A href="?m=userinfo&id={$ticket.deluserid}">{$ticket.delusername|escape}</A>
</TD>
</TR>
<TR>
<TD style="width: 1%;" class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-remove"></i>{trans("Remove date:")}
</TD>
<TD style="width: 99%;">
<TD>
{$ticket.deltime|date_format:"%Y/%m/%d %H:%M.%S"}
</TD>
</TR>
{/if}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-source"></i>{trans("Ticket source:")}
</TD>
<TD>
{$_RT_SOURCES[$ticket.source]}
</TD>
</TR>
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-priority"></i>{trans("Priority:")}
</TD>
<TD>
<span style="{$_RT_PRIORITY_STYLES[$ticket.priority]}">{$_RT_PRIORITIES[$ticket.priority]}</span>
</TD>
{if $ticket.address_id}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-location"></i>{trans("Location:")}
</TD>
<TD>
Expand All @@ -266,7 +270,7 @@
{/if}
{if $ticket.nodeid}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-node"></i>{trans("Node:")}
</TD>
<TD>
Expand All @@ -278,7 +282,7 @@
{/if}
{if $ticket.netnodeid}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-netnode"></i>{trans("Network Device Node:")}
</TD>
<TD>
Expand All @@ -288,7 +292,7 @@
{/if}
{if $ticket.netdevid}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-netdev"></i>{trans("Device:")}
</TD>
<TD>
Expand All @@ -298,7 +302,7 @@
{/if}
{if $ticket.invprojectid}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-money"></i>{trans("Investment project:")}
</TD>
<TD>
Expand All @@ -308,7 +312,7 @@
{/if}
{if $ticket.parentid}
<TR>
<TD class="bold">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-reload"></i>{trans("Parent ticket:")}
</TD>
<TD>
Expand All @@ -318,7 +322,7 @@
{/if}
{if $ticket.relatedtickets}
<TR>
<TD class="bold nobr">
<TD class="lms-ui-box-cell bold nobr">
<i class="lms-ui-icon-reload"></i>{trans("Related tickets:")}
</TD>
<TD>
Expand Down

0 comments on commit 4d3b4c9

Please sign in to comment.