This commit is contained in:
42
source/ri/ri/Views/ScheduleMarker/Edit.cshtml
Normal file
42
source/ri/ri/Views/ScheduleMarker/Edit.cshtml
Normal file
@@ -0,0 +1,42 @@
|
||||
@using ri.util;
|
||||
@using GZTW.AyaNova.BLL;
|
||||
|
||||
@model GZTW.AyaNova.BLL.ScheduleMarker
|
||||
|
||||
@if (Model.IsFollowUp)
|
||||
{
|
||||
ViewBag.Title = ay.lt("ScheduleMarker.Label.FollowUp") + " " + ViewBag.titleName;
|
||||
<h2>
|
||||
@ay.lt("ScheduleMarker.Label.FollowUp")
|
||||
</h2>
|
||||
<h3>
|
||||
@NameFetcher.GetItem(new TypeAndID(Model.FollowType, Model.FollowID)).RecordName
|
||||
</h3>
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewBag.Title = ay.lt("O.ScheduleMarker");
|
||||
<h2>
|
||||
@ay.lt("O.ScheduleMarker")
|
||||
</h2>
|
||||
}
|
||||
|
||||
@using (Html.BeginForm())
|
||||
{
|
||||
@Html.HiddenFor(model => model.ID)
|
||||
|
||||
<div class="row">
|
||||
@ay.edSelectGroup("ScheduleMarker.Label.SourceID", "plSourceID", ay.ScheduleMarkerSourceTypesList(Model), ay.ScheduleMarkerSourceTypeSelectedValue(Model), ViewBag)
|
||||
@ay.edTextGroup("ScheduleMarker.Label.Name", "Name", Model.Name, ViewBag, true)
|
||||
@ay.edDateTimeGroup("ScheduleMarker.Label.StartDate", "StartDate", Model.StartDate, ViewBag)
|
||||
@ay.edDateTimeGroup("ScheduleMarker.Label.StopDate", "StopDate", Model.StopDate, ViewBag)
|
||||
@ay.edColorGroup("ScheduleMarker.Label.Color", "ARGB", ay.hexColorFromARGB(Model.ARGB), ViewBag)
|
||||
@ay.edCheckGroup("ScheduleMarker.Label.Completed", "Completed", Model.Completed, ViewBag)
|
||||
@ay.edTextAreaGroup("ScheduleMarker.Label.Notes", "Notes", Model.Notes, ViewBag)
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
@ay.saveBackButtonGroup(ViewBag)
|
||||
</div>
|
||||
}
|
||||
@ay.jsAreYouSure()
|
||||
Reference in New Issue
Block a user