diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json index 079594f..45a08b8 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json @@ -13222,9 +13222,9 @@ }, { "resourceName": "Platform", - "key": "App.Listform.ListformField.UserId", - "en": "User", - "tr": "Kullanıcı" + "key": "App.Listform.ListformField.Author", + "en": "Author", + "tr": "Yazar" }, { "resourceName": "Platform", @@ -15806,6 +15806,12 @@ "en": "Menu Information", "tr": "Menü Bilgileri" }, + { + "resourceName": "Platform", + "key": "ListForms.Wizard.Required", + "en": "Required", + "tr": "Gerekli" + }, { "resourceName": "Platform", "key": "ListForms.Wizard.ListFormSettings", diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs b/api/src/Sozsoft.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs index 65ad75c..f364338 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs @@ -7167,7 +7167,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new EditingFormItemDto { Order = 4, DataField = "CoverImage", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "ReadTime", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 6, DataField = "CategoryId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, - new EditingFormItemDto { Order = 7, DataField = "UserId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, + new EditingFormItemDto { Order = 7, DataField = "Author", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 8, DataField = "ViewCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() }, new EditingFormItemDto { Order = 9, DataField = "LikeCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() }, new EditingFormItemDto { Order = 10, DataField = "CommentCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() }, @@ -7333,9 +7333,9 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency { ListFormCode = listForm.ListFormCode, CultureName = LanguageCodes.En, - SourceDbType = DbType.Guid, - FieldName = "UserId", - CaptionName = "App.Listform.ListformField.UserId", + SourceDbType = DbType.String, + FieldName = "Author", + CaptionName = "App.Listform.ListformField.Author", Width = 200, ListOrderNo = 8, Visible = true, @@ -7343,12 +7343,6 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency IsDeleted = false, AllowSearch = true, ValidationRuleJson = DefaultValidationRuleRequiredJson, - LookupJson = JsonSerializer.Serialize(new LookupDto { - DataSourceType = UiLookupDataSourceTypeEnum.Query, - DisplayExpr = "Name", - ValueExpr = "Key", - LookupQuery = LookupQueryValues.UserValues - }), ColumnCustomizationJson = DefaultColumnCustomizationJson, PermissionJson = DefaultFieldPermissionJson(listForm.Name), PivotSettingsJson = DefaultPivotSettingsJson, diff --git a/api/src/Sozsoft.Platform.Domain.Shared/Public/StatDto.cs b/api/src/Sozsoft.Platform.Domain.Shared/Public/StatDto.cs index 2224a4c..6c5bdb3 100644 --- a/api/src/Sozsoft.Platform.Domain.Shared/Public/StatDto.cs +++ b/api/src/Sozsoft.Platform.Domain.Shared/Public/StatDto.cs @@ -6,7 +6,7 @@ public class StatDto public string Value { get; set; } // number/string farkını normalize ettik public string LabelKey { get; set; } public bool? UseCounter { get; set; } - public int? CounterEnd { get; set; } + public string? CounterEnd { get; set; } public string CounterSuffix { get; set; } public int? CounterDuration { get; set; } } diff --git a/api/src/Sozsoft.Platform.EntityFrameworkCore/Seeds/TenantData.json b/api/src/Sozsoft.Platform.EntityFrameworkCore/Seeds/TenantData.json index 50405ef..d6a7dc3 100644 --- a/api/src/Sozsoft.Platform.EntityFrameworkCore/Seeds/TenantData.json +++ b/api/src/Sozsoft.Platform.EntityFrameworkCore/Seeds/TenantData.json @@ -371,19 +371,19 @@ "stats": [ { "icon": "FaUsers", - "value": 300, + "value": "310+", "labelKey": "Public.about.stats.clients", "useCounter": true, - "counterEnd": 300, + "counterEnd": "310+", "counterSuffix": "+", "counterDuration": 2500 }, { "icon": "FaAward", - "value": 20, + "value": "20", "labelKey": "Public.about.stats.experience", "useCounter": true, - "counterEnd": 20, + "counterEnd": "20", "counterSuffix": "+", "counterDuration": 2000 }, @@ -395,10 +395,10 @@ }, { "icon": "FaGlobe", - "value": 3, + "value": "3", "labelKey": "App.Definitions.Country", "useCounter": true, - "counterEnd": 3, + "counterEnd": "3", "counterDuration": 1500 } ], diff --git a/ui/src/proxy/about/models.ts b/ui/src/proxy/about/models.ts index 4a9dc17..d167ea1 100644 --- a/ui/src/proxy/about/models.ts +++ b/ui/src/proxy/about/models.ts @@ -11,7 +11,7 @@ export interface StatDto { value: string labelKey: string useCounter?: boolean - counterEnd?: number + counterEnd?: string counterSuffix?: string counterDuration?: number }