Skip to content

Commit

Permalink
FIX Vendorise path names for images and CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sachajudd committed Oct 27, 2017
1 parent 21e795b commit a9c140b
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions _config/workflowconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SilverStripe\Core\Injector\Injector:
Symbiote\AdvancedWorkflow\Extensions\WorkflowApplicable:
class: Symbiote\AdvancedWorkflow\Extensions\WorkflowApplicable
type: prototype

SilverStripe\CMS\Model\SiteTree:
extensions:
- Symbiote\AdvancedWorkflow\Extensions\WorkflowApplicable
Expand All @@ -17,4 +17,4 @@ SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest:
- Symbiote\AdvancedWorkflow\Extensions\AdvancedWorkflowExtension
SilverStripe\Admin\LeftAndMain:
extra_requirements_css:
- advancedworkflow/client/dist/styles/advancedworkflow.css
- symbiote/silverstripe-advancedworkflow:client/dist/styles/advancedworkflow.css
2 changes: 1 addition & 1 deletion code/actions/AssignUsersToWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AssignUsersToWorkflowAction extends WorkflowAction
'Groups' => Group::class,
);

private static $icon = 'advancedworkflow/images/assign.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/assign.png';

private static $table_name = 'AssignUsersToWorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/actions/CancelWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class CancelWorkflowAction extends WorkflowAction
{
private static $icon = 'advancedworkflow/images/cancel.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/cancel.png';

private static $table_name = 'CancelWorkflowAction';
}
2 changes: 1 addition & 1 deletion code/actions/NotifyUsersWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class NotifyUsersWorkflowAction extends WorkflowAction
'EmailTemplate' => 'Text'
);

private static $icon = 'advancedworkflow/images/notify.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/notify.png';

private static $table_name = 'NotifyUsersWorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/actions/PublishItemWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PublishItemWorkflowAction extends WorkflowAction
'AllowEmbargoedEditing' => true
);

private static $icon = 'advancedworkflow/images/publish.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/publish.png';

private static $table_name = 'PublishItemWorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/actions/SimpleApprovalWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
class SimpleApprovalWorkflowAction extends WorkflowAction
{
private static $icon = 'advancedworkflow/images/approval.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/approval.png';

private static $table_name = 'SimpleApprovalWorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/actions/UnpublishItemWorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class UnpublishItemWorkflowAction extends WorkflowAction
'UnpublishDelay' => 'Int'
);

private static $icon = 'advancedworkflow/images/unpublish.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/unpublish.png';

private static $table_name = 'UnpublishItemWorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/admin/AdvancedWorkflowAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AdvancedWorkflowAdmin extends ModelAdmin
private static $menu_title = 'Workflows';
private static $menu_priority = -1;
private static $url_segment = 'workflows';
private static $menu_icon = "advancedworkflow/images/workflow-menu-icon.png";
private static $menu_icon = "symbiote/silverstripe-advancedworkflow:images/workflow-menu-icon.png";

/**
*
Expand Down
2 changes: 1 addition & 1 deletion code/dataobjects/WorkflowAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class WorkflowAction extends DataObject
*/
private static $instance_class = WorkflowActionInstance::class;

private static $icon = 'advancedworkflow/images/action.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/action.png';

private static $table_name = 'WorkflowAction';

Expand Down
2 changes: 1 addition & 1 deletion code/dataobjects/WorkflowDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class WorkflowDefinition extends DataObject
'Groups' => Group::class,
);

private static $icon = 'advancedworkflow/images/definition.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/definition.png';

public static $default_workflow_title_base = 'My Workflow';

Expand Down
2 changes: 1 addition & 1 deletion code/dataobjects/WorkflowTransition.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class WorkflowTransition extends DataObject
'Groups' => Group::class,
);

private static $icon = 'advancedworkflow/images/transition.png';
private static $icon = 'symbiote/silverstripe-advancedworkflow:images/transition.png';

private static $table_name = 'WorkflowTransition';

Expand Down
2 changes: 1 addition & 1 deletion templates/Includes/AssignedWorkflowList.ss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<% if UserWorkflows %>

<% require javascript(advancedworkflow/client/dist/js/advancedworkflow.js) %>
<% require javascript(symbiote/silverstripe-advancedworkflow:client/dist/js/advancedworkflow.js) %>

<table class="userWorkflowTable">
<thead>
Expand Down

0 comments on commit a9c140b

Please sign in to comment.