Work around page breaking issue
This commit is contained in:
@ -5,6 +5,13 @@
|
||||
|
||||
<div class="date">@Model.Location, am @($"{Model.Date:dd.MM.yyyy}")</div>
|
||||
<h1>@Model.Title</h1>
|
||||
@if (Model.Delivery.Parts.Count > 2) {
|
||||
<p>Siehe nächste Seite.</p>
|
||||
if (Model.Delivery.Year == Model.CurrentNextSeason) {
|
||||
<p>Gesamtlieferung usw.</p>
|
||||
}
|
||||
<hr class="page-break"/>
|
||||
}
|
||||
<table class="delivery">
|
||||
<colgroup>
|
||||
<col style="width: 1cm;"/>
|
||||
@ -57,6 +64,9 @@
|
||||
@if (Model.Delivery.Comment != null) {
|
||||
<p class="comment">Amerkung zur Lieferung: @Model.Delivery.Comment</p>
|
||||
}
|
||||
@if (Model.Delivery.Parts.Count <= 2 && Model.Delivery.Year == Model.CurrentNextSeason) {
|
||||
<p>Gesamtlieferung usw.</p>
|
||||
}
|
||||
@for (int i = 0; i < 2; i++) {
|
||||
<div class="@(i == 0 ? "bottom" : "hidden")">
|
||||
@if (Model.Text != null) {
|
||||
|
Reference in New Issue
Block a user