mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge branch '3.8'
Conflicts: lib/Alchemy/Phrasea/Controller/Admin/Root.php lib/classes/module/console/schedulerStart.php lib/classes/module/console/taskrun.php lib/classes/task/Scheduler.php lib/classes/task/abstract.php lib/classes/task/databoxAbstract.php templates/web/admin/collection/collection.html.twig templates/web/admin/databox/databox.html.twig templates/web/email-template.html.twig
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
</form>
|
||||
|
||||
<form style="display:inline; margin:0;" method="post" action="{{ path('admin_collection_empty', { 'bas_id' : bas_id }) }}">
|
||||
<button type="button" class="btn confirm submiter" data-confirm-msg="{{ 'admin::base:collection: etes vous sur de vider la collection ?' | trans }}">
|
||||
<button type="button" class="btn confirm submiter reload" data-confirm-msg="{{ 'admin::base:collection: etes vous sur de vider la collection ?' | trans }}">
|
||||
<img src="/skins/icons/trash.png" />
|
||||
{{ 'admin::base:collection: vider la collection' | trans }}
|
||||
</button>
|
||||
@@ -331,7 +331,7 @@
|
||||
success: function(datas) {
|
||||
if(datas.success) {
|
||||
if(submitLink.hasClass('reload')) {
|
||||
reloadTree('base:{{ collection.get_sbas_id() }}', true);
|
||||
reloadTree('collection:{{ collection.get_base_id() }}', true);
|
||||
} else if(submitLink.hasClass('reload-tree')) {
|
||||
reloadTree('bases:bases', true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user