|
@T("Plugin ID")
|
@this.Plugin.Id |
|
@T("Status source")
|
@state.SourceLabel |
|
@T("Current hash")
|
@GetShortHash(state.CurrentHash) |
@if (state.EnterpriseApproval is not null)
{
|
@T("Approved hash")
|
@GetShortHash(state.EnterpriseApproval.PluginHash) |
@if (!string.IsNullOrWhiteSpace(state.EnterpriseApproval.DisplayName))
{
|
@T("Approved name")
|
@state.EnterpriseApproval.DisplayName |
}
@if (!string.IsNullOrWhiteSpace(state.EnterpriseApproval.ApprovedBy))
{
|
@T("Approved by")
|
@state.EnterpriseApproval.ApprovedBy |
}
@if (state.EnterpriseApproval.ApprovedAtUtc is not null)
{
|
@T("Approved at")
|
@this.FormatFileTimestamp(state.EnterpriseApproval.ApprovedAtUtc.Value.ToLocalTime().DateTime) |
}
@if (!string.IsNullOrWhiteSpace(state.EnterpriseApproval.Comment))
{
|
@T("Approval comment")
|
@state.EnterpriseApproval.Comment |
}
}
@if (state.Audit is not null)
{
|
@T("Audit hash")
|
@GetShortHash(state.Audit.PluginHash) |
|
@T("Audit provider")
|
@this.GetAuditProviderLabel() |
|
@T("Audited at")
|
@this.FormatFileTimestamp(state.Audit.AuditedAtUtc.ToLocalTime().DateTime) |
|
@T("Audit level")
|
@state.AuditLabel |
|
@T("Availability")
|
@state.AvailabilityLabel |
}
|
@T("Required minimum")
|
@state.Settings.MinimumLevel.GetName() |