Browse Source

Added `IsHomePage` to Page list

pull/13635/head
malik masis 4 years ago
parent
commit
64affb09b8
  1. 8
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Pages/index.js
  2. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json
  3. 5
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json

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

@ -17,7 +17,7 @@ $(function (){
scrollCollapse: true,
scrollX: true,
ordering: true,
order: [[3, "desc"]],
order: [[4, "desc"]],
ajax: abp.libs.datatables.createAjax(pagesService.getList, getFilter),
columnDefs: [
{
@ -55,6 +55,7 @@ $(function (){
.setAsHomePage(data.record.id)
.then(function () {
abp.notify.success(l('CompletedSettingAsHomePage'));
_dataTable.ajax.reload();
});
}
}
@ -71,6 +72,11 @@ $(function (){
orderable: true,
data: "slug"
},
{
title: l("IsHomePage"),
orderable: true,
data: "isHomePage"
},
{
title: l("CreationTime"),
orderable: true,

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json

@ -190,6 +190,7 @@
"InThisDocument": "In This Document",
"GoToTop": "Go To Top",
"SetAsHomePage": "Set As Home Page",
"CompletedSettingAsHomePage": "Set as home page"
"CompletedSettingAsHomePage": "Set as home page",
"IsHomePage": "Is Home Page"
}
}

5
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json

@ -190,7 +190,8 @@
"Add": "Ekle",
"AddWidget": "Widget Ekle",
"PleaseConfigureWidgets": "Lütfen widget'leri yapılandırın",
"SetAsHomePage": "Anasayfa Olarak Ayarla",
"CompletedSettingAsHomePage": "Anasayfa olarak ayarlandı"
"SetAsHomePage": "Ana sayfa Olarak Ayarla",
"CompletedSettingAsHomePage": "Ana sayfa olarak ayarlandı",
"IsHomePage": "Ana Sayfa Mı"
}
}

Loading…
Cancel
Save