29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
@using EnVisage.Code.HtmlHelpers
|
|
@using EnVisage.Models.ProjectDependencies
|
|
@using EnVisage.Code
|
|
@model DependencyResolveModel
|
|
@Html.HiddenFor(t => t.ProjectId, new { @class = "project-id" })
|
|
@Html.HiddenFor(t => t.StartDate, new { @class = "start-date" })
|
|
@Html.HiddenFor(t => t.EndDate, new { @class = "end-date" })
|
|
@Html.HiddenFor(t => t.HasDateConflicts, new { @class = "has-conflicts" })
|
|
@{
|
|
var projectDates = string.Empty;
|
|
if (Model.StartDate.HasValue && Model.EndDate.HasValue)
|
|
{
|
|
projectDates = "(" + Model.StartDate.Value.ToShortDateString() + " - " + Model.EndDate.Value.ToShortDateString() + ")";
|
|
}
|
|
}
|
|
<div class='loadRotator' style="display:none;">
|
|
<span>
|
|
<img class='valign-middle' src='@Url.Content("~/Content/images/loadFA.gif")' /> loading...
|
|
</span>
|
|
</div>
|
|
<div class="alert alert-warning resolve-warnings">
|
|
<ul>
|
|
<li>Reminder: Any change for any project could lead to another dependency conflicts so system will recalculate and reload form on any change.</li>
|
|
</ul>
|
|
</div>
|
|
<div class="form-inline tbl-conflicts">
|
|
<p>This project @(projectDates) has dependent projects which could be affected by date change. Please choose what we need to do with these dependencies:</p>
|
|
@Html.EditorFor(t => t.ResolvePlan)
|
|
</div> |