add extendable tpl blocks for submit elements on tasks
This commit is contained in:
parent
903d178124
commit
3b47f4da05
@ -1,6 +1,8 @@
|
|||||||
<div class="btn-group">
|
[{block name="submitElements"}]
|
||||||
<button type="button" class="btn btn-primary" onclick="startTask('[{$id}]')">
|
<div class="btn-group">
|
||||||
<i class="fas fa-magic"></i>
|
<button type="button" class="btn btn-primary" onclick="startTask('[{$id}]')">
|
||||||
[{oxmultilang ident=$item->getButtonText()}]
|
<i class="fas fa-fw fa-magic"></i>
|
||||||
</button>
|
[{oxmultilang ident=$item->getButtonText()}]
|
||||||
</div>
|
</button>
|
||||||
|
</div>
|
||||||
|
[{/block}]
|
@ -1,22 +1,24 @@
|
|||||||
<div class="btn-group">
|
[{block name="submitElements"}]
|
||||||
<button type="button" class="btn btn-primary" onclick="startTask('[{$id}]', 'CSV')">
|
<div class="btn-group">
|
||||||
<i class="fas fa-magic"></i>
|
<button type="button" class="btn btn-primary" onclick="startTask('[{$id}]', 'CSV')">
|
||||||
[{oxmultilang ident=$item->getButtonText()}]
|
<i class="fas fa-fw fa-magic"></i>
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
||||||
<span class="sr-only">
|
|
||||||
<i class="fas fa-magic"></i>
|
|
||||||
[{oxmultilang ident=$item->getButtonText()}]
|
[{oxmultilang ident=$item->getButtonText()}]
|
||||||
</span>
|
</button>
|
||||||
</button>
|
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<div class="dropdown-menu">
|
<span class="sr-only">
|
||||||
[{block name="dataWizardFormat"}]
|
<i class="fas fa-fw fa-magic"></i>
|
||||||
[{assign var="rendererBridge" value=$item->getRendererBridge()}]
|
[{oxmultilang ident=$item->getButtonText()}]
|
||||||
[{foreach from=$rendererBridge->getTranslatedRendererIdList() key="key" item="translationId"}]
|
</span>
|
||||||
<button class="dropdown-item" onclick="startTask('[{$id}]', '[{$key}]')">
|
</button>
|
||||||
[{oxmultilang ident=$translationId}]
|
<div class="dropdown-menu">
|
||||||
</button>
|
[{block name="dataWizardFormat"}]
|
||||||
[{/foreach}]
|
[{assign var="rendererBridge" value=$item->getRendererBridge()}]
|
||||||
[{/block}]
|
[{foreach from=$rendererBridge->getTranslatedRendererIdList() key="key" item="translationId"}]
|
||||||
|
<button class="dropdown-item" onclick="startTask('[{$id}]', '[{$key}]')">
|
||||||
|
[{oxmultilang ident=$translationId}]
|
||||||
|
</button>
|
||||||
|
[{/foreach}]
|
||||||
|
[{/block}]
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
[{/block}]
|
Loading…
Reference in New Issue
Block a user