Show critical branch details in web lookup
This commit is contained in:
@@ -52,6 +52,31 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (Result.Branches.Count > 0)
|
||||
{
|
||||
<div class="callout">
|
||||
<h4>Conditional Branches</h4>
|
||||
<div class="branch-list">
|
||||
@foreach (var branch in Result.Branches)
|
||||
{
|
||||
<section class="branch-card">
|
||||
<div class="branch-condition">@branch.ConditionText</div>
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(branch.Description))
|
||||
{
|
||||
<p class="branch-copy">@branch.Description</p>
|
||||
}
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(branch.AffixText))
|
||||
{
|
||||
<p class="stacked-copy branch-affix">@branch.AffixText</p>
|
||||
}
|
||||
</section>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
<details class="details-block">
|
||||
<summary>Raw Imported Cell</summary>
|
||||
<pre class="code-block">@Result.RawCellText</pre>
|
||||
|
||||
Reference in New Issue
Block a user