50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
@if (Item.Force == ItemVerification.VerificationForce.Optionnal)
|
|
{
|
|
<Alert Color="AlertColor.Info">
|
|
<Icon Name="IconName.InfoCircleFill" class="me-2" />
|
|
Cet item est une indication, il ne relève ni d'une recommandation, ni d'une obligation.
|
|
</Alert>
|
|
}
|
|
else if (Item.Force == ItemVerification.VerificationForce.Recommandation)
|
|
{
|
|
<Alert Color="AlertColor.Warning">
|
|
<Icon Name="IconName.ExclamationDiamondFill" class="me-2" />
|
|
Cet item relève de la recommandation, il relève des recommandations opposables.
|
|
</Alert>
|
|
}
|
|
else if (Item.Force == ItemVerification.VerificationForce.Mandatory)
|
|
{
|
|
<Alert Color="AlertColor.Danger">
|
|
<Icon Name="IconName.ExclamationTriangleFill" class="me-2" />
|
|
Cet item doit obligatoirement être suivi, car il fait l'objet d'un référentiel opposable.
|
|
</Alert>
|
|
}
|
|
|
|
<p>@Item.Label</p>
|
|
|
|
<h6>Statut</h6>
|
|
<InspectionItemQuickAnswerSelector Item=@Item Register=@Register />
|
|
|
|
@if (String.IsNullOrEmpty(Item.Description))
|
|
{
|
|
<h6>Description</h6>
|
|
<p>@Item.Description</p>
|
|
}
|
|
|
|
<h6>Références</h6>
|
|
<p>@Item.References</p>
|
|
|
|
<h6>Commentaires</h6>
|
|
<p></p>
|
|
|
|
<h6>Historique des modifications</h6>
|
|
<p></p>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public ItemVerification Item { get; set; }
|
|
|
|
[Parameter]
|
|
public Register? Register { get; set; }
|
|
}
|