{extends file="admin-layout.tpl"} {default_translation_domain domain='artabanmarketplace.bo.default'} {block name="no-return-functions"} {$admin_current_location = 'seller'} {/block} {block name="page-title"} {assign "seller_id" $smarty.get.seller_id} {loop name="seller_titre_page_tile" type="ampseller" id=$seller_id} {intl l="Seller Users" d='artabanmarketplace.bo.default'} : {$TITLE} {/loop} {/block} {block name="check-resource"}admin.module{/block} {block name="check-access"}update{/block} {block name="check-module"}ArtabanMarketplace{/block} {block name="main-content"}
{assign "seller_id" $smarty.get.seller_id} {if $general_error}
{$general_error}
{/if} {if $error_msg}
{$error_msg}
{/if} {if $form_error}
{$form_error_message}
{/if}

{intl l='Lastname'} | {intl l='Firstname'} | {intl l="Actions"}
--- | --- | ---
{loop type="ampseller_admin" name="user-list" amp_seller_id=$seller_id order="lastname"}
{$LASTNAME} | {$FIRSTNAME} | {loop type="amp_seller_link_admin" name="seller_link_admin" admin_id=$ID} {/loop}
{/loop} {elseloop rel="user-list"}
{intl l='There is no USER' d='artabanmarketplace.bo.default'}
{/elseloop}

### {intl l='Associate an User' d='artabanmarketplace.bo.default'}

{include file="form/seller-link-admin.html"}
{* DELETE modal *} {capture "link_delete"} {intl l="Do you really want to delete this LINK entry ?" d="artabanmarketplace.bo.default"} {/capture} {include file="includes/generic-confirm-dialog.html" dialog_id = "link-delete" dialog_title = {intl l="Delete an Link entry" d="artabanmarketplace.bo.default"} dialog_message = {$smarty.capture.link_delete nofilter} dialog_ok_label = {intl l="Delete"} dialog_cancel_label = {intl l="Cancel"} form_action = {token_url path='/admin/module/artabanmarketplace/seller/link/admin/delete'} } {/block} {block name="javascript-initialization"}
{/block}