mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 06:48:37 -05:00
implement model-based copy for job templates and workflow templates
This commit is contained in:
@@ -55,8 +55,37 @@ function TemplatesStrings (BaseString) {
|
||||
VALID_DECIMAL: t.s('Please enter an answer that is a decimal number.'),
|
||||
PLAYBOOK_RUN: t.s('Playbook Run'),
|
||||
CHECK: t.s('Check'),
|
||||
NO_CREDS_MATCHING_TYPE: t.s('No Credentials Matching This Type Have Been Created')
|
||||
NO_CREDS_MATCHING_TYPE: t.s('No Credentials Matching This Type Have Been Created'),
|
||||
};
|
||||
|
||||
ns.alert = {
|
||||
MISSING_PARAMETER: t.s('Template parameter is missing.'),
|
||||
NO_PERMISSION: t.s('You do not have permission to perform this action.'),
|
||||
UNKNOWN_COPY: t.s('Unable to determine this template\'s type while copying.'),
|
||||
UNKNOWN_DELETE: t.s('Unable to determine this template\'s type while deleting.'),
|
||||
UNKNOWN_EDIT: t.s('Unable to determine this template\'s type while editing.'),
|
||||
UNKNOWN_LAUNCH: t.s('Unable to determine this template\'s type while launching.'),
|
||||
UNKNOWN_SCHEDULE: t.s('Unable to determine this template\'s type while scheduling.'),
|
||||
};
|
||||
|
||||
ns.actions = {
|
||||
COPY_WORKFLOW: t.s('Copy Workflow')
|
||||
};
|
||||
|
||||
ns.error = {
|
||||
HEADER: this.error.HEADER,
|
||||
CALL: this.error.CALL,
|
||||
EDIT: t.s('Unable to edit template.'),
|
||||
DELETE: t.s('Unable to delete template.'),
|
||||
LAUNCH: t.s('Unable to launch template.'),
|
||||
UNKNOWN: t.s('Unable to determine template type.'),
|
||||
SCHEDULE: t.s('Unable to schedule job.'),
|
||||
COPY: t.s('Unable to copy template.'),
|
||||
};
|
||||
|
||||
ns.warnings = {
|
||||
WORKFLOW_RESTRICTED_COPY: t.s('You do not have access to all resources used by this workflow. Resources that you don\'t have access to will not be copied and will result in an incomplete workflow.')
|
||||
}
|
||||
}
|
||||
|
||||
TemplatesStrings.$inject = ['BaseStringService'];
|
||||
|
||||
Reference in New Issue
Block a user