Merge branch 'master' of https://github.com/thelia/thelia
Conflicts: templates/admin/default/admin-layout.tpl
This commit is contained in:
36
templates/admin/default/includes/confirmation-modal.html
Normal file
36
templates/admin/default/includes/confirmation-modal.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{*
|
||||
Params
|
||||
- id : aside element id (default delete)
|
||||
- title : modal title (default Confirmation)
|
||||
- message : modal message (default Do you really want to delete this element ?)
|
||||
*}
|
||||
{block name="confirmation-modal"}
|
||||
<aside id="{if $id}{$id}{else}delete{/if}" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h3>
|
||||
{if $title}
|
||||
{$title}
|
||||
{else}
|
||||
{intl l='Confirmation'}
|
||||
{/if}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
{if $message}
|
||||
{$message}
|
||||
{else}
|
||||
{intl l='Do you really want to delete this element ?'}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-default" data-dismiss="modal">{intl l='Cancel'}</button>
|
||||
<a href="#" class="btn btn-default btn-success" data-confirm="confirm">{intl l='Confirm'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside> <!-- #delete / Delete confirmation -->
|
||||
{/block}
|
||||
5
templates/admin/default/includes/coupon_breadcrumb.html
Executable file
5
templates/admin/default/includes/coupon_breadcrumb.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{* Breadcrumb for coupon browsing and editing *}
|
||||
|
||||
<li><a href="{url path='admin/home'}">Home</a></li>
|
||||
<li><a href="{url path='admin/coupon'}">Coupon</a></li>
|
||||
<li><a href="{url path="admin/coupon/browse/$ID"}">Browse</a></li>
|
||||
11
templates/admin/default/includes/notifications.html
Normal file
11
templates/admin/default/includes/notifications.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{*
|
||||
Params
|
||||
- type : notification type (default alert)
|
||||
- message : modal message
|
||||
*}
|
||||
{if $message}
|
||||
<div class="{if $type}$type{else}alert alert-info{/if}">
|
||||
<span class="icon-question-sign"></span>
|
||||
{$message}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user