mirror of https://github.com/zulip/zulip.git
settings: Use standard error handling in settings/invites.
Changed the error message element from organization-status to an alert-notification block within this page.
This commit is contained in:
parent
17a5d6c1f7
commit
060f40c356
|
@ -12,7 +12,7 @@ exports.reset = function () {
|
|||
|
||||
function failed_listing_invites(xhr) {
|
||||
loading.destroy_indicator($('#admin_page_invites_loading_indicator'));
|
||||
ui_report.error(i18n.t("Error listing invites"), xhr, $("#organization-status"));
|
||||
ui_report.error(i18n.t("Error listing invites"), xhr, $("#invites-field-status"));
|
||||
}
|
||||
|
||||
exports.invited_as_values = {
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div id="admin-invites-list" class="settings-section" data-name="invites-list-admin">
|
||||
<a class="invite-user-link" href="#invite"><i class="fa fa-plus-circle" aria-hidden="true"></i>{{t "Invite more users" }}</a>
|
||||
<div>
|
||||
<h3 class="inline-block">{{t "Invites" }}</h3>
|
||||
<input type="text" class="search" placeholder="{{t 'Filter invites' }}" aria-label="{{t 'Filter invites' }}"/>
|
||||
<div class="alert-notification" id="invites-field-status"></div>
|
||||
</div>
|
||||
<div class="clear-float"></div>
|
||||
|
||||
<div class="progressive-table-wrapper">
|
||||
|
|
Loading…
Reference in New Issue