Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
e2b54f39
Commit
e2b54f39
authored
May 23, 2016
by
Bahadir Can Yildiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD rref #5340. Added wf and token params on request.
parent
037687ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app_routes.js
app/app_routes.js
+5
-1
crud_controller.js
app/components/crud/crud_controller.js
+2
-1
No files found.
app/app_routes.js
View file @
e2b54f39
...
...
@@ -31,13 +31,16 @@ angular.module('ulakbus')
templateUrl
:
'components/uitemplates/form_service_pg.html'
,
controller
:
'FormServicePg'
})
// use crud without selected user
// important: regex urls must be defined later than static ones
.
when
(
'/:wf/'
,
{
templateUrl
:
'components/crud/templates/crud-preload.html'
,
controller
:
'CRUDController'
})
.
when
(
'/cwf/:wf/:token'
,
{
templateUrl
:
'components/crud/templates/crud.html'
,
controller
:
'CRUDController'
})
.
when
(
'/:wf/do/:cmd'
,
{
templateUrl
:
'components/crud/templates/crud.html'
,
controller
:
'CRUDListFormController'
...
...
@@ -60,6 +63,7 @@ angular.module('ulakbus')
})
.
otherwise
({
redirectTo
:
'/dashboard'
});
}])
.
factory
(
'IsOnline'
,
function
()
{
...
...
app/components/crud/crud_controller.js
View file @
e2b54f39
...
...
@@ -68,7 +68,8 @@ angular.module('ulakbus.crud', ['schemaForm', 'ui.bootstrap', 'ulakbus.formServi
id
:
scope
.
param_id
||
routeParams
.
param_id
,
wf
:
routeParams
.
wf
,
object_id
:
routeParams
.
key
,
filters
:
{}
filters
:
{},
token
:
scope
.
token
||
routeParams
.
token
};
if
(
scope
.
param_id
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment