</div>
</div>
<md-input-container class="md-block">
- <label translate="INTEGRATIONS.NAME">Name</label>
+ <label translate="APP.NAME">Name</label>
<input
type="text"
name="name"
role="alert"
>
<div ng-message="required">
- <span translate="INTEGRATIONS.ERRORS.NAME_REQUIRED"
+ <span translate="APP.ERRORS.NAME_REQUIRED"
>Name field is required</span
>
</div>
</div>
</md-input-container>
<md-input-container class="md-block">
- <label translate="INTEGRATIONS.TYPE">Type</label>
+ <label translate="APP.TYPE">Type</label>
<md-select name="type" ng-model="vm.deskAccount.type" required>
<md-option ng-value="'integrationTab'">
{{ 'INTEGRATIONS.INTEGRATION_TAB' | translate }}
</md-option>
<md-option ng-value="'newTab'">
- {{ 'INTEGRATIONS.NEW_TAB' | translate }}
+ {{ 'APP.NEW_TAB' | translate }}
</md-option>
</md-select>
<div
role="alert"
>
<div ng-message="required">
- <span translate="INTEGRATIONS.ERRORS.TYPE_REQUIRED"
+ <span translate="APP.ERRORS.TYPE_REQUIRED"
>Type field is required</span
>
</div>
ng-if="vm.deskAccount.authType == 'basic'"
class="md-block"
>
- <label translate="INTEGRATIONS.USERNAME">Username</label>
+ <label translate="APP.USERNAME">Username</label>
<input
type="text"
name="username"
role="alert"
>
<div ng-message="required">
- <span translate="INTEGRATIONS.ERRORS.USERNAME_REQUIRED"
+ <span translate="APP.ERRORS.USERNAME_REQUIRED"
>Username field is required</span
>
</div>
class="md-block"
ng-if="vm.deskAccount.authType == 'basic'"
>
- <label translate="INTEGRATIONS.PASSWORD">Password</label>
+ <label translate="APP.PASSWORD">Password</label>
<input
type="password"
name="password"
ng-model="vm.deskAccount.password"
placeholder="Password"
translate
- translate-attr-placeholder="INTEGRATIONS.PASSWORD"
+ translate-attr-placeholder="APP.PASSWORD"
required
/>
<div ng-messages="deskAccountForm['password'].$error" role="alert">
<div ng-message="required">
- <span translate="INTEGRATIONS.ERRORS.PASSWORD_REQUIRED"
+ <span translate="APP.ERRORS.PASSWORD_REQUIRED"
>Password field is required</span
>
</div>
</div>
</md-input-container>
<md-input-container class="md-block">
- <label translate="INTEGRATIONS.DESCRIPTION">Description</label>
+ <label translate="APP.DESCRIPTION">Description</label>
<input
type="text"
name="description"
class="send-button md-accent md-raised"
ng-disabled="deskAccountForm.$invalid || deskAccountForm.$pristine"
aria-label="SAVE"
- translate="INTEGRATIONS.SAVE"
- translate-attr-aria-label="INTEGRATIONS.SAVE"
+ translate="APP.SAVE"
+ translate-attr-aria-label="APP.SAVE"
>
SAVE
</md-button>
ng-click="vm.deleteDeskAccount($event)"
aria-label="DELETE"
translate
- translate-attr-aria-label="INTEGRATIONS.DELETE"
+ translate-attr-aria-label="APP.DELETE"
>
<md-icon md-font-icon="icon-delete"></md-icon>
- <md-tooltip
- ><span translate="INTEGRATIONS.DELETE">DELETE</span></md-tooltip
- >
+ <md-tooltip><span translate="APP.DELETE">DELETE</span></md-tooltip>
</md-button>
</div>
</md-dialog-actions>