Migrate to bootstrap 4 in LeafWeb
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
@model Tuple<LeafInput,TimeInProgressEstimater>
|
||||
@{
|
||||
var leafInput = Model.Item1;
|
||||
var estimater = Model.Item2;
|
||||
var estimator = Model.Item2;
|
||||
|
||||
var totalTimeEstimate = estimater.EstimateTimeInProgress(leafInput);
|
||||
TimeSpan remaining = totalTimeEstimate - leafInput.TimeInProgress;
|
||||
var totalTimeEstimate = estimator.EstimateTimeInProgress(leafInput);
|
||||
var remaining = totalTimeEstimate - leafInput.TimeInProgress;
|
||||
if (remaining > TimeSpan.Zero)
|
||||
{
|
||||
<text>@remaining.ToRoundedReadableString()</text>
|
||||
|
||||
Reference in New Issue
Block a user