diff --git a/templates/default/customer/customermessages.html b/templates/default/customer/customermessages.html index 65f12e34da..7a79794cd5 100644 --- a/templates/default/customer/customermessages.html +++ b/templates/default/customer/customermessages.html @@ -19,55 +19,65 @@ + + + + + + + + - - - - - - + - + + {cycle values="light,lucid" print=false name=messages} {foreach from=$messagelist item=item} - - - - - - {foreachelse} @@ -77,6 +87,31 @@ {/foreach} + + + + +
+ {trans("Date:")} + {trans("Subject:")} + {trans("Destination:")} + {trans("Last read on:")} + {trans("Was confirm on:")} ({trans("only userpanel message")})
+ {$item.cdate|date_format:"%Y/%m/%d"} - {if $item.type == $smarty.const.MSG_MAIL} - email - {elseif $item.type == $smarty.const.MSG_WWW} - www - {elseif $item.type == $smarty.const.MSG_USERPANEL || $item.type == $smarty.const.MSG_USERPANEL_URGENT} - userpanel - {else} - sms - {/if} + + {if $item.type == $smarty.const.MSG_MAIL} + email + {elseif $item.type == $smarty.const.MSG_WWW} + www + {elseif $item.type == $smarty.const.MSG_USERPANEL || $item.type == $smarty.const.MSG_USERPANEL_URGENT} + userpanel + {else} + sms + {/if} {$item.subject} + {$item.destination} + {if $item.lastreaddate}{$item.lastreaddate|date_format:"%Y/%m/%d %H:%M"}{else} - {/if} + {if $item.status == $smarty.const.MSG_SENT && ($item.type == $smarty.const.MSG_USERPANEL || $item.type == $smarty.const.MSG_USERPANEL_URGENT) && $item.lastdate}{$item.lastdate|date_format:"%Y/%m/%d %H:%M"}{else} - {/if} + +
+ {trans("Delete")} {trans( + +