-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mnoe 669] Company deletion #398
base: 2.0
Are you sure you want to change the base?
Conversation
Will freeze the org upon confirmation.
Will also prevent direct access via URLs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Some minor changes:
- Add a
.modal-header
omdashboard-deletion-confirm.html
</label> | ||
<input type="password" class="form-control" id="delCompanypassword" ng-model="$ctrl.password"> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty line to remove
# Launch Cb | ||
ctrl.resolve.actionCb(ctrl.delReasons, ctrl.password).then( | ||
(response) -> | ||
toastr.success('Organization successfully frozen') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Locale key to add for i18n
ctrl.close(response) | ||
(errors) -> | ||
$log.error(errors) | ||
toastr.error(errors.statusText, "Error") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Locale key to add for i18n
- Remove empty lines - I18N the toastr - Organize the locale names
Code review adressed + reorganized the locales names |
No description provided.