refactor: move auth method type strings
This commit is contained in:
5 files changed
+6
-6
No files matched your search
@@ -6,7 +6,7 @@
|
||||
as |form|
|
||||
>
|
||||
<form.input
|
||||
@value={{t (concat 'auth.method-types.' @model.type)}}
|
||||
@value={{t (concat 'resources.auth-method.types.' @model.type)}}
|
||||
@label={{t "form.type.label"}}
|
||||
readonly={{true}}
|
||||
@disabled={{true}} />
|
||||
@@ -50,4 +50,4 @@
|
||||
@disabled={{if @model.cannotSave @model.cannotSave}}
|
||||
@submitText={{t "actions.save"}}
|
||||
@cancelText={{t "actions.cancel"}} />
|
||||
</Rose::Form>
|
||||
</Rose::Form>
|
||||
@@ -42,7 +42,7 @@
|
||||
</row.headerCell>
|
||||
<row.cell>
|
||||
<Rose::Badge>
|
||||
{{t (concat 'auth.method-types.' authMethod.type)}}
|
||||
{{t (concat 'resources.auth-method.types.' authMethod.type)}}
|
||||
</Rose::Badge>
|
||||
</row.cell>
|
||||
<row.cell>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<Rose::Nav::Tabs as |nav|>
|
||||
{{#each @model.authMethods as |authMethod|}}
|
||||
<nav.link @route="scopes.scope.authenticate.method" @model={{authMethod.id}}>
|
||||
{{t (concat "auth.method-types." authMethod.type)}}
|
||||
{{t (concat "resources.auth-method.types." authMethod.type)}}
|
||||
</nav.link>
|
||||
{{/each}}
|
||||
</Rose::Nav::Tabs>
|
||||
|
||||
@@ -5,8 +5,6 @@ auth:
|
||||
no-scopes: No scopes were found. To authenticate, ask your administrator to create an scope and grant you access.
|
||||
choose-org: Choose a scope to authenticate.
|
||||
authenticating-with-org: "You're authenticating with {name}."
|
||||
method-types:
|
||||
password: Password
|
||||
host-set:
|
||||
types:
|
||||
static: Static
|
||||
|
||||
@@ -21,6 +21,8 @@ auth-method:
|
||||
none:
|
||||
title: No Authentication Methods
|
||||
description: No authentication methods were found for this scope. Switch scopes and try again.
|
||||
types:
|
||||
password: Password
|
||||
user: User
|
||||
users: Users
|
||||
role: Role
|
||||
|
||||
Reference in new issue
Block a user