Skip to content

Commit 900eedf

Browse files
committed
Merge branch '6.1' into 6.2
2 parents 82f9cdd + e33375c commit 900eedf

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/Actions/SetPropertyWorkflowAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
use Symbiote\AdvancedWorkflow\DataObjects\WorkflowInstance;
88

99
/**
10-
*
11-
*
1210
* @author Marcus Nyeholt <marcus@symbiote.com.au>
1311
*/
1412
class SetPropertyWorkflowAction extends WorkflowAction

src/Extensions/WorkflowApplicable.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ public function updateCMSActions(FieldList $actions)
261261
// and will be displayed as a major action.
262262
if (!$addedFirst) {
263263
$addedFirst = true;
264-
$action->setAttribute('data-icon', 'navigation');
265264
$majorActions = $actions->fieldByName('MajorActions');
266265
$majorActions ? $majorActions->push($action) : $actions->push($action);
267266
} else {
@@ -271,7 +270,7 @@ public function updateCMSActions(FieldList $actions)
271270
}
272271
// Only display menu if actions pushed to it
273272
if ($tab->Fields()->exists()) {
274-
$menu->insertBefore($tab, 'MoreOptions');
273+
$menu->insertBefore('MoreOptions', $tab);
275274
}
276275
}
277276
}

templates/Symbiote/AdvancedWorkflow/FormFields/WorkflowField.ss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
<h4>$Title</h4>
3131

3232
<div class="workflow-field-action-buttons btn-group">
33-
<a class="btn btn-outline-secondary workflow-field-open-dialog<% if $canEdit %><% else %> workflow-field-action-disabled<% end_if %>" href="$Top.ActionLink('item',$ID,'edit')" data-icon="pencil">
33+
<a class="btn btn-outline-secondary workflow-field-open-dialog<% if $canEdit %><% else %> workflow-field-action-disabled<% end_if %>" href="$Top.ActionLink('item',$ID,'edit')">
3434
<%t WorkflowField.EditAction "Edit" %>
3535
</a>
36-
<a class="btn btn-outline-secondary workflow-field-open-dialog <% if $canAddTransition %><% else %> workflow-field-action-disabled<% end_if %>" href="$Top.TransitionLink('new',$ID,'edit')" data-icon="chain--arrow">
36+
<a class="btn btn-outline-secondary workflow-field-open-dialog <% if $canAddTransition %><% else %> workflow-field-action-disabled<% end_if %>" href="$Top.TransitionLink('new',$ID,'edit')">
3737
<%t WorkflowField.AddTransitionAction "Add Transition" %>
3838
</a>
39-
<a href="$Top.ActionLink('item',$ID,'delete')" data-securityid="$SecurityID" class="btn btn-outline-secondary workflow-field-delete<% if $canDelete %><% else %> workflow-field-action-disabled<% end_if %>" data-icon="cross-circle">
39+
<a href="$Top.ActionLink('item',$ID,'delete')" data-securityid="$SecurityID" class="btn btn-outline-secondary workflow-field-delete<% if $canDelete %><% else %> workflow-field-action-disabled<% end_if %>">
4040
<%t WorkflowField.DeleteAction "Delete" %>
4141
</a>
4242
</div>

0 commit comments

Comments
 (0)