@page @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal @using Volo.Abp.FeatureManagement.Localization @using Volo.Abp.Validation.StringValues @using Volo.Abp.FeatureManagement.Web.Pages.FeatureManagement @using Volo.Abp.Features @model FeatureManagementModal @inject IHtmlLocalizer L @{ Layout = null; }
@if (Model.FeatureListDto?.Features != null && Model.FeatureListDto.Features.Any()) { @for (var i = 0; i < Model.FeatureListDto.Features.Count; i++) { var feature = Model.FeatureListDto.Features[i]; var disabled = Model.IsDisabled(feature.Provider.Name);
@feature.DisplayName @(disabled ? $"({feature.Provider.Name})" : "") @if (feature.ValueType is FreeTextStringValueType) { } @if (feature.ValueType is SelectionStringValueType) { } @if (feature.ValueType is ToggleStringValueType) { }
}
} else { @L["NoFeatureFoundMessage"] }