fix(web): hide job lock status from printed reports
Build CutList image / build-and-push (push) Successful in 21s
Build CutList image / build-and-push (push) Successful in 21s
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
@if (!IsNew && job.IsLocked)
|
||||
{
|
||||
<div class="alert alert-warning d-flex justify-content-between align-items-center mb-3">
|
||||
<div class="alert alert-warning d-flex justify-content-between align-items-center mb-3 print-screen-only">
|
||||
<div>
|
||||
<i class="bi bi-lock-fill me-2"></i>
|
||||
<strong>This job is locked</strong> — locked on @job.LockedAt!.Value.ToLocalTime().ToString("g"). Unlock to make changes.
|
||||
@@ -1058,7 +1058,7 @@ else
|
||||
<h5 class="mb-0"><i class="bi bi-box-seam me-2"></i>Material List</h5>
|
||||
@if (job.IsLocked)
|
||||
{
|
||||
<span class="badge bg-success"><i class="bi bi-lock-fill me-1"></i>Job Locked</span>
|
||||
<span class="badge bg-success print-screen-only"><i class="bi bi-lock-fill me-1"></i>Job Locked</span>
|
||||
}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
Reference in New Issue
Block a user