-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
161 changed files
with
7,574 additions
and
1,898 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
import { URLCombiner } from '../core/url-combiner/url-combiner'; | ||
import { getAccessControlModuleRoute } from '../app-routing-paths'; | ||
|
||
export const GROUP_EDIT_PATH = 'groups'; | ||
export const EPERSON_PATH = 'epeople'; | ||
|
||
export function getEPersonsRoute(): string { | ||
return new URLCombiner(getAccessControlModuleRoute(), EPERSON_PATH).toString(); | ||
} | ||
|
||
export function getEPersonEditRoute(id: string): string { | ||
return new URLCombiner(getEPersonsRoute(), id, 'edit').toString(); | ||
} | ||
|
||
export const GROUP_PATH = 'groups'; | ||
|
||
export function getGroupsRoute() { | ||
return new URLCombiner(getAccessControlModuleRoute(), GROUP_EDIT_PATH).toString(); | ||
return new URLCombiner(getAccessControlModuleRoute(), GROUP_PATH).toString(); | ||
} | ||
|
||
export function getGroupEditRoute(id: string) { | ||
return new URLCombiner(getAccessControlModuleRoute(), GROUP_EDIT_PATH, id).toString(); | ||
return new URLCombiner(getGroupsRoute(), id, 'edit').toString(); | ||
} |
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.