Browse Source

Merge pull request #10354 from abpframework/liangshiwei/modules

Show notification for all successful delete actions of modules
pull/14166/head
Ahmet Çotur 5 years ago
committed by GitHub
parent
commit
6aa972482c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs
  2. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json
  3. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json
  4. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de-DE.json
  5. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json
  6. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json
  7. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json
  8. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json
  9. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json
  10. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json
  11. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json
  12. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json
  13. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json
  14. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json
  15. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json
  16. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json
  17. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json
  18. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json
  19. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json
  20. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json
  21. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json
  22. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json
  23. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json
  24. 1
      framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json
  25. 3
      modules/blogging/src/Volo.Blogging.Admin.Web/Pages/Blogging/Admin/Blogs/index.js
  26. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/BlogPosts/index.js
  27. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Blogs/index.js
  28. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Comments/details.js
  29. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Comments/index.js
  30. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Pages/index.js
  31. 1
      modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Projects/index.js
  32. 1
      modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/index.js
  33. 1
      modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/index.js
  34. 1
      modules/tenant-management/src/Volo.Abp.TenantManagement.Web/Pages/TenantManagement/Tenants/Index.js

1
framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs

@ -504,6 +504,7 @@ namespace Volo.Abp.BlazoriseUI
{
await GetEntitiesAsync();
await InvokeAsync(StateHasChanged);
await Notify.Success(L["SuccessfullyDeleted"]);
}
protected virtual string GetDeleteConfirmationMessage(TListViewModel entity)

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ar.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "حفظ...",
"Actions": "أجراءات",
"Delete": "حذف",
"SuccessfullyDeleted": "تم الحذف بنجاح",
"Edit": "تعديل",
"Refresh": "تحديث",
"Language": "لغة",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/cs.json

@ -12,6 +12,7 @@
"SavingWithThreeDot": "Ukládám...",
"Actions": "Akce",
"Delete": "Smazat",
"SuccessfullyDeleted": "Úspěšně smazáno",
"Edit": "Upravit",
"Refresh": "Obnovit",
"Language": "Jazyk",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de-DE.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Speichern...",
"Actions": "Aktionen",
"Delete": "Löschen",
"SuccessfullyDeleted": "Erfolgreich gelöscht",
"Edit": "Bearbeiten",
"Refresh": "Aktualisieren",
"Language": "Sprache",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/de.json

@ -12,6 +12,7 @@
"SavingWithThreeDot": "Speichere...",
"Actions": "Aktionen",
"Delete": "Löschen",
"SuccessfullyDeleted": "Erfolgreich gelöscht",
"Edit": "Bearbeiten",
"Refresh": "Aktualisieren",
"Language": "Sprache",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en-GB.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Saving",
"Actions": "Actions",
"Delete": "Delete",
"SuccessfullyDeleted": "Successfully deleted",
"Edit": "Edit",
"Refresh": "Refresh",
"Language": "Language",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Saving...",
"Actions": "Actions",
"Delete": "Delete",
"SuccessfullyDeleted": "Successfully deleted",
"Edit": "Edit",
"Refresh": "Refresh",
"Language": "Language",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/es.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Guardando...",
"Actions": "Opciones",
"Delete": "Borrar",
"SuccessfullyDeleted": "Eliminado con éxito",
"Edit": "Editar",
"Refresh": "Actualizar",
"Language": "Idioma",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Tallentaa...",
"Actions": "Toiminnot",
"Delete": "Poistaa",
"SuccessfullyDeleted": "Poistettu onnistuneesti",
"Edit": "Muokata",
"Refresh": "virkistää",
"Language": "Kieli",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Enregistrement...",
"Actions": "Actions",
"Delete": "Supprimer",
"SuccessfullyDeleted": "Supprimé avec succès",
"Edit": "Modifier",
"Refresh": "Actualiser",
"Language": "Langue",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hi.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "सहेजा जा रहा है...",
"Actions": "कार्रवाई",
"Delete": "हटाएं",
"SuccessfullyDeleted": "सफलतापूर्वक हटा दिया गया",
"Edit": "संपादित करें",
"Refresh": "ताज़ा करना",
"Language": "भाषा: हिन्दी",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/hu.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Mentés...",
"Actions": "Műveletek",
"Delete": "Törlés",
"SuccessfullyDeleted": "Sikeresen törölve",
"Edit": "Szerkesztés",
"Refresh": "Frissítés",
"Language": "Nyelv",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/it.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Salvataggio...",
"Actions": "Azioni",
"Delete": "Elimina",
"SuccessfullyDeleted": "Șters cu succes",
"Edit": "Modifica",
"Refresh": "Ricarica",
"Language": "Lingua",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Opslaan...",
"Actions": "Acties",
"Delete": "Verwijder",
"SuccessfullyDeleted": "Succesvol verwijderd",
"Edit": "Bewerk",
"Refresh": "Ververs",
"Language": "Taal",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pl-PL.json

@ -10,6 +10,7 @@
"SavingWithThreeDot": "Zapisywanie...",
"Actions": "Akcje",
"Delete": "Usuń",
"SuccessfullyDeleted": "Pomyślnie usunięto",
"Edit": "Edytuj",
"Refresh": "Odśwież",
"ProcessingWithThreeDot": "Procesowanie...",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/pt-BR.json

@ -10,6 +10,7 @@
"SavingWithThreeDot": "Salvando...",
"Actions": "Ações",
"Delete": "Excluir",
"SuccessfullyDeleted": "Excluído com sucesso",
"Edit": "Editar",
"Refresh": "Refrescar",
"ProcessingWithThreeDot": "Processando...",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ro-RO.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Se salvează...",
"Actions": "Acţiuni",
"Delete": "Şterge",
"SuccessfullyDeleted": "Șters cu succes",
"Edit": "Editează",
"Refresh": "Reîncarcă",
"Language": "Limba",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/ru.json

@ -12,6 +12,7 @@
"SavingWithThreeDot": "Сохранение...",
"Actions": "Действия",
"Delete": "Удалить",
"SuccessfullyDeleted": "Успешно удалено",
"Edit": "Редактировать",
"Refresh": "Обновить",
"Language": "Язык",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sk.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Úkladanie...",
"Actions": "Akcie",
"Delete": "Odstrániť",
"SuccessfullyDeleted": "Úspešne odstránené",
"Edit": "Upraviť",
"Refresh": "Obnoviť",
"Language": "Jazyk",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/sl.json

@ -12,6 +12,7 @@
"SavingWithThreeDot": "Shranjujem...",
"Actions": "Dejanja",
"Delete": "Izbriši",
"SuccessfullyDeleted": "Uspešno izbrisano",
"Edit": "Uredi",
"Refresh": "Osveži",
"Language": "Jezik",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "Kaydediliyor...",
"Actions": "İşlemler",
"Delete": "Sil",
"SuccessfullyDeleted": "Başarıyla silindi",
"Edit": "Düzenle",
"Refresh": "Yenile",
"Language": "Dil",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/vi.json

@ -10,6 +10,7 @@
"SavingWithThreeDot": "Đang lưu...",
"Actions": "Hành động",
"Delete": "Xóa",
"SuccessfullyDeleted": "Đã xóa thành công",
"Edit": "Sửa",
"Refresh": "Làm mới",
"ProcessingWithThreeDot": "Đang xử lý...",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "保存中...",
"Actions": "操作",
"Delete": "删除",
"SuccessfullyDeleted": "删除成功",
"Edit": "编辑",
"Refresh": "刷新",
"Language": "语言",

1
framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json

@ -13,6 +13,7 @@
"SavingWithThreeDot": "保存中...",
"Actions": "操作",
"Delete": "刪除",
"SuccessfullyDeleted": "刪除成功",
"Edit": "修改",
"Refresh": "更新",
"Language": "語言",

3
modules/blogging/src/Volo.Blogging.Admin.Web/Pages/Blogging/Admin/Blogs/index.js

@ -49,13 +49,14 @@ $(function () {
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
},
},
{
text: l("ClearCache"),
visible: abp.auth.isGranted(
'Blogging.Blog.ClearCache'
'Blogging.Blog.ClearCache'
),
confirmMessage: function (data) {
return l("ClearCacheConfirmationMessage");

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/BlogPosts/index.js

@ -44,6 +44,7 @@ $(function () {
.delete(data.record.id)
.then(function () {
dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
}
}

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Blogs/index.js

@ -49,6 +49,7 @@ $(function () {
.delete(data.record.id)
.then(function () {
dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
}
}

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Comments/details.js

@ -74,6 +74,7 @@ $(function (){
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
}
}

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Comments/index.js

@ -74,6 +74,7 @@ $(function (){
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
}
}

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Pages/index.js

@ -43,6 +43,7 @@ $(function (){
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
}
}

1
modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Projects/index.js

@ -57,6 +57,7 @@ $(function () {
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
},
},

1
modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/index.js

@ -63,6 +63,7 @@
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
},
}

1
modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/index.js

@ -58,6 +58,7 @@
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
},
}

1
modules/tenant-management/src/Volo.Abp.TenantManagement.Web/Pages/TenantManagement/Tenants/Index.js

@ -57,6 +57,7 @@
.delete(data.record.id)
.then(function () {
_dataTable.ajax.reload();
abp.notify.success(l('SuccessfullyDeleted'));
});
},
}

Loading…
Cancel
Save