create resource and page for export
This commit is contained in:
48
templates/backOffice/default/export.html
Normal file
48
templates/backOffice/default/export.html
Normal file
@@ -0,0 +1,48 @@
|
||||
{extends file="admin-layout.tpl"}
|
||||
|
||||
{block name="page-title"}{intl l='Exports'}{/block}
|
||||
|
||||
{block name="check-resource"}admin.export{/block}
|
||||
{block name="check-access"}view{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="configuration">
|
||||
|
||||
<div id="wrapper" class="container">
|
||||
|
||||
{module_include location='tools_top'}
|
||||
|
||||
<h2>{intl l="Thelia tools"}</h2>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Customer export'}</caption>
|
||||
|
||||
{module_include location='tools_col1_top'}
|
||||
|
||||
{loop name="auth-export" type="auth" role="ADMIN" resource="admin.export.customer.newsletter" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/export/customer/newsletter'}">{intl l="newsletter subscribers"}</a></td>
|
||||
<td><a class="btn btn-default btn-xs" href="{url path='/admin/export/customer/newsletter'}"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{module_include location='tools_col1_bottom'}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{module_include location='configuration_bottom'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="javascript-last-call"}
|
||||
{module_include location='configuration-js'}
|
||||
{/block}
|
||||
@@ -24,13 +24,20 @@
|
||||
|
||||
{module_include location='tools_col1_top'}
|
||||
|
||||
{loop name="menu-auth-coupon" type="auth" role="ADMIN" resource="admin.coupon" access="VIEW"}
|
||||
{loop name="auth-coupon" type="auth" role="ADMIN" resource="admin.coupon" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/coupon'}">{intl l="Coupons"}</a></td>
|
||||
<td><a class="btn btn-default btn-xs" href="{url path='/admin/coupon'}"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop name="auth-export" type="auth" role="ADMIN" resource="admin.export" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/export'}">{intl l="Export"}</a></td>
|
||||
<td><a class="btn btn-default btn-xs" href="{url path='/admin/export'}"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{module_include location='tools_col1_bottom'}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user