diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 1deee0f25..26f3bfca5 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -368,6 +368,7 @@ target: add-brokered-credential-sources: Add Brokered Credentials add-injected-application-credential-sources: Add Injected Application Credentials remove-address: Remove address and save + enable-session-recording: Enable Session Recording types: tcp: Generic TCP ssh: SSH diff --git a/ui/admin/app/router.js b/ui/admin/app/router.js index 0187e2f03..8b36ebc98 100644 --- a/ui/admin/app/router.js +++ b/ui/admin/app/router.js @@ -85,6 +85,7 @@ Router.map(function () { this.route('injected-application-credential-sources'); this.route('add-brokered-credential-sources'); this.route('add-injected-application-credential-sources'); + this.route('enable-session-recording'); }); this.route('new'); }); diff --git a/ui/admin/app/routes/scopes/scope/targets/target/enable-session-recording.js b/ui/admin/app/routes/scopes/scope/targets/target/enable-session-recording.js new file mode 100644 index 000000000..d6dd6e257 --- /dev/null +++ b/ui/admin/app/routes/scopes/scope/targets/target/enable-session-recording.js @@ -0,0 +1,3 @@ +import Route from '@ember/routing/route'; + +export default class ScopesScopeTargetsTargetEnableSessionRecordingRoute extends Route {} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/enable-session-recording.hbs b/ui/admin/app/templates/scopes/scope/targets/target/enable-session-recording.hbs new file mode 100644 index 000000000..559ab26d4 --- /dev/null +++ b/ui/admin/app/templates/scopes/scope/targets/target/enable-session-recording.hbs @@ -0,0 +1,2 @@ +{{page-title (t 'resources.target.actions.enable-session-recording')}} +{{outlet}} \ No newline at end of file diff --git a/ui/admin/tests/unit/routes/scopes/scope/targets/target/enable-session-recording-test.js b/ui/admin/tests/unit/routes/scopes/scope/targets/target/enable-session-recording-test.js new file mode 100644 index 000000000..434a711fa --- /dev/null +++ b/ui/admin/tests/unit/routes/scopes/scope/targets/target/enable-session-recording-test.js @@ -0,0 +1,16 @@ +import { module, test } from 'qunit'; +import { setupTest } from 'admin/tests/helpers'; + +module( + 'Unit | Route | scopes/scope/targets/target/enable-session-recording', + function (hooks) { + setupTest(hooks); + + test('it exists', function (assert) { + let route = this.owner.lookup( + 'route:scopes/scope/targets/target/enable-session-recording' + ); + assert.ok(route); + }); + } +);