avatar on customer threads
This commit is contained in:
1 parent
95b5036782
commit
c4d18e5e9f
1 file changed
+4
-19
@@ -23,17 +23,14 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{if !$email}
|
{if !$email}
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<h3>
|
<h3>
|
||||||
{if !empty($message.employee_name)}
|
{if !empty($message.employee_name)}
|
||||||
<i class="icon-user"></i>
|
<i>{$employee_avatar}</i>
|
||||||
{$PS_SHOP_NAME} - {$message.employee_name}
|
({$message.employee_name}) - {$PS_SHOP_NAME}
|
||||||
{else}
|
{else}
|
||||||
<i class="icon-user"></i> --
|
<i class="icon-user"></i>
|
||||||
{if !empty($message.id_customer)}
|
{if !empty($message.id_customer)}
|
||||||
<a href="index.php?tab=AdminCustomers&id_customer={$message.id_customer}&viewcustomer&token={getAdminToken tab='AdminCustomers'}" title="{l s='View customer'}">
|
<a href="index.php?tab=AdminCustomers&id_customer={$message.id_customer}&viewcustomer&token={getAdminToken tab='AdminCustomers'}" title="{l s='View customer'}">
|
||||||
{$message.customer_name}
|
{$message.customer_name}
|
||||||
@@ -43,7 +40,6 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="infoCustomer">
|
<div class="infoCustomer">
|
||||||
{if !empty($message.id_customer) && empty($message.id_employee)}
|
{if !empty($message.id_customer) && empty($message.id_employee)}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
@@ -55,19 +51,16 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='Sent on:'}</dt>
|
<dt>{l s='Sent on:'}</dt>
|
||||||
<dd>{$message.date_add}</dd>
|
<dd>{$message.date_add}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
{if empty($message.id_employee)}
|
{if empty($message.id_employee)}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='Browser:'}</dt>
|
<dt>{l s='Browser:'}</dt>
|
||||||
<dd>{$message.user_agent}</dd>
|
<dd>{$message.user_agent}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if !empty($message.file_name) && $file_name}
|
{if !empty($message.file_name) && $file_name}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='File attachment'}</dt>
|
<dt>{l s='File attachment'}</dt>
|
||||||
@@ -79,7 +72,6 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if !empty($message.id_order) && empty($message.id_employee)}
|
{if !empty($message.id_order) && empty($message.id_employee)}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='Order #'}</dt>
|
<dt>{l s='Order #'}</dt>
|
||||||
@@ -90,7 +82,6 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if !empty($message.id_product) && empty($message.id_employee)}
|
{if !empty($message.id_product) && empty($message.id_employee)}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='Product #'}</dt>
|
<dt>{l s='Product #'}</dt>
|
||||||
@@ -118,9 +109,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{else}
|
{else}
|
||||||
|
|
||||||
<div class="infoEmployee">
|
<div class="infoEmployee">
|
||||||
{if $id_employee}
|
{if $id_employee}
|
||||||
<a class="btn btn-default pull-right" href="{$current}&token={getAdminToken tab='AdminCustomerThreads'}&id_customer_thread={$message.id_customer_thread}&viewcustomer_thread">
|
<a class="btn btn-default pull-right" href="{$current}&token={getAdminToken tab='AdminCustomerThreads'}&id_customer_thread={$message.id_customer_thread}&viewcustomer_thread">
|
||||||
@@ -163,7 +152,6 @@
|
|||||||
<dt>{l s='Subject:'}</dt>
|
<dt>{l s='Subject:'}</dt>
|
||||||
<dd>{$message.subject}</dd>
|
<dd>{$message.subject}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
{/if}
|
{/if}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{l s='Thread ID:'}</dt>
|
<dt>{l s='Thread ID:'}</dt>
|
||||||
@@ -179,7 +167,6 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if !$email}
|
{if !$email}
|
||||||
{if empty($message.id_employee)}
|
{if empty($message.id_employee)}
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
@@ -189,7 +176,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div id="reply_to_{$message.id_customer_message}" style="display: none;">
|
<div id="reply_to_{$message.id_customer_message}" style="display: none;">
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<form action="{$current}&token={getAdminToken tab='AdminCustomerThreads'}&id_customer_thread={$message.id_customer_thread}&viewcustomer_thread" method="post" enctype="multipart/form-data" class="form-horizontal">
|
<form action="{$current}&token={getAdminToken tab='AdminCustomerThreads'}&id_customer_thread={$message.id_customer_thread}&viewcustomer_thread" method="post" enctype="multipart/form-data" class="form-horizontal">
|
||||||
@@ -214,5 +200,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
Reference in new issue
Block a user