Skip to content

Commit

Permalink
fix : Additional translations needed in profile management [SDCP-709] (
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored Sep 12, 2023
1 parent e61e841 commit 51b8e2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/apps/users/views/edit-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,17 @@ <h5>{{ user.username}}</h5>
</div>
</div>

<h3 id="user-password" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5">Password</h3>
<h3 id="user-password" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5" translate>Password</h3>
<div class="sd-container sd-container--flex sd-container--gap-none sd-container--direction-column sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus sd-margin-b--3">
<div sd-info-item class="password button-group button-group--center button-group--comfort" ng-if="features.reset_user_password && user._id && !profile && user.is_enabled && _active" id="password-reset-trigger">
<span class="change-btn btn btn--hollow btn--primary" ng-click="show.reset_password = !show.reset_password" ng-show="!show.reset_password">reset password</span>
<span class="change-btn btn btn--hollow btn--primary" ng-click="show.reset_password = !show.reset_password" ng-show="!show.reset_password" translate>reset password</span>
</div>
<div sd-info-item class="password button-group button-group--center button-group--comfort" ng-if="features.reset_user_password && user._id && profile" id="password-change-trigger">
<span class="change-btn btn btn--hollow btn--primary" ng-click="show.change_password = !show.change_password" ng-show="!show.change_password">change password</span>
<span class="change-btn btn btn--hollow btn--primary" ng-click="show.change_password = !show.change_password" ng-show="!show.change_password" translate>change password</span>
</div>
</div>

<h3 id="user-desk" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5">Default desk</h3>
<h3 id="user-desk" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5" translate>Default desk</h3>
<div class="sd-container sd-container--flex sd-container--gap-none sd-container--direction-column sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus sd-margin-b--3">
<div sd-info-item class="form__group form__group--default form__group--mb-0 form__group--inline-label" ng-if="userDesks && userDesks.length > 0">
<div class="form__item">
Expand All @@ -223,7 +223,7 @@ <h3 id="user-desk" class="sd-heading sd-text-align--left sd-text--sans sd-headi
</div>
</div>

<h3 id="user-language" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5">Language</h3>
<h3 id="user-language" class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5" translate>Language</h3>
<div class="sd-container sd-container--flex sd-container--gap-none sd-container--direction-column sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus sd-margin-b--3">
<div sd-info-item class="field__language form__group form__group--default form__group--mb-0 form__group--inline-label">
<div class="form__item">
Expand All @@ -243,7 +243,7 @@ <h3 id="user-language" class="sd-heading sd-text-align--left sd-text--sans sd-he

<!-- Author content -->
<div class="details-info" ng-show="user.is_author" id="authorDetails">
<h3 class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5">Author info</h3>
<h3 class="sd-heading sd-text-align--left sd-text--sans sd-heading--h3 sd-margin-b--0-5" translate>Author info</h3>
<div class="sd-container sd-container--flex sd-container--gap-none sd-container--direction-column sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus sd-margin-b--4">
<div class="field__email form__group form__group--default form__group--mb-3" sd-info-item ng-if="!hideSignOff">
<div class="form__item">
Expand Down

0 comments on commit 51b8e2d

Please sign in to comment.