-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from kreta/feature/transitions-frontend
Added status transition management in frontend
- Loading branch information
Showing
13 changed files
with
474 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
Bundle/WebBundle/Resources/public/js/collections/workflow.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* This file belongs to Kreta. | ||
* The source code of application includes a LICENSE file | ||
* with all information about license. | ||
* | ||
* @author benatespina <[email protected]> | ||
* @author gorkalaucirica <[email protected]> | ||
*/ | ||
|
||
import {Config} from '../config'; | ||
import {Workflow} from '../models/workflow'; | ||
|
||
export class WorkflowCollection extends Backbone.Collection { | ||
constructor (models, options) { | ||
this.url = Config.baseUrl + '/workflows'; | ||
this.model = Workflow; | ||
super(models, options); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* This file belongs to Kreta. | ||
* The source code of application includes a LICENSE file | ||
* with all information about license. | ||
* | ||
* @author benatespina <[email protected]> | ||
* @author gorkalaucirica <[email protected]> | ||
*/ | ||
|
||
import {Config} from '../config'; | ||
|
||
export class Workflow extends Backbone.Model { | ||
urlRoot() { | ||
return Config.baseUrl + '/workflows'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.