70 lines
2.0 KiB
Plaintext
70 lines
2.0 KiB
Plaintext
@page
|
|
@model _2021_backend.Pages.Sessions.DetailsModel
|
|
|
|
@{
|
|
ViewData["Title"] = "Details";
|
|
}
|
|
|
|
<h1>Details</h1>
|
|
|
|
<div>
|
|
<h4>InterviewTime</h4>
|
|
<hr />
|
|
<dl class="row">
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.Day)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.Day)
|
|
</dd>
|
|
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.BeginTime)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.BeginTime)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.Place)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.Place)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.Chiefs)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@{
|
|
var nm = "";
|
|
foreach (var e in Model.CurSession.Chiefs)
|
|
{
|
|
nm += Model.Context.Users.Find(e).Name + " ";
|
|
}
|
|
@Html.DisplayFor(model => nm);
|
|
}
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.Capacity)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.Capacity)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
已经报名人数
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.Students.Count)
|
|
</dd>
|
|
<dt class="col-sm-2">
|
|
@Html.DisplayNameFor(model => model.CurSession.SendSMS)
|
|
</dt>
|
|
<dd class="col-sm-10">
|
|
@Html.DisplayFor(model => model.CurSession.SendSMS)
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<div>
|
|
<a asp-page="./Edit" asp-route-id="@Model.CurSession.Id">Edit</a> |
|
|
<a asp-page="./Index">Back to List</a>
|
|
</div>
|