* chore: 🤖 Update editor config settings * chore: 🤖 Add back ember-template-lint-plugin-prettier * style: 💄 Format admin * style: 💄 Format desktop * style: 💄 Format rose * style: 💄 Format core * style: 💄 Format api
38 lines
1.1 KiB
Handlebars
38 lines
1.1 KiB
Handlebars
<Rose::Dropdown
|
|
@text={{t 'actions.manage'}}
|
|
@dropdownRight={{true}}
|
|
as |dropdown|
|
|
>
|
|
{{#if (can 'addHostSources target' @model)}}
|
|
<dropdown.link @route='scopes.scope.targets.target.add-host-sources'>
|
|
{{t 'resources.target.actions.add-host-sources'}}
|
|
</dropdown.link>
|
|
{{/if}}
|
|
{{#if (can 'addBrokeredCredentialSources target' @model)}}
|
|
<dropdown.link
|
|
@route='scopes.scope.targets.target.add-brokered-credential-sources'
|
|
>
|
|
{{t 'resources.target.actions.add-brokered-credential-sources'}}
|
|
</dropdown.link>
|
|
{{/if}}
|
|
|
|
{{#if (can 'addInjectedApplicationCredentialSources target' @model)}}
|
|
<dropdown.link
|
|
@route='scopes.scope.targets.target.add-injected-application-credential-sources'
|
|
>
|
|
{{t
|
|
'resources.target.actions.add-injected-application-credential-sources'
|
|
}}
|
|
</dropdown.link>
|
|
{{/if}}
|
|
{{#if (can 'delete model' @model)}}
|
|
<dropdown.separator />
|
|
<dropdown.button
|
|
@style='danger'
|
|
@disabled={{@model.canSave}}
|
|
{{on 'click' (route-action 'delete' @model)}}
|
|
>
|
|
{{t 'resources.target.actions.delete'}}
|
|
</dropdown.button>
|
|
{{/if}}
|
|
</Rose::Dropdown> |