|
|
- @model Sevomin.Models.JobViewModel
-
- @{
- ViewBag.Title = string.Format("{0} {1}", "جزییات آگهی جذب نیروی برنامه ریزی پروژه", ViewBag.ShortJobDescription);
- }
-
- <div class="row">
- <div class="col-md-12">
- <h2 class="rtl">جذب نیروی برنامه ریزی پروژه</h2>
- <h4 class="rtl">@ViewBag.ShortJobDescription</h4>
-
- <div class="table-responsive rtl">
- @if (User.IsInRole("Dovomin"))
- {
- <p>
- <a class="btn btn-primary btn-xs" href="@Url.Action("Apply", "Job", new { jobId = Model.Id })"><span class="glyphicon glyphicon-ok"></span> اعلام آمادگی</a>
- </p>
- }
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>@Html.DisplayNameFor(m => m.JalaliCreateDate)</th>
- <th>@Html.DisplayNameFor(m => m.JalaliExpireDate)</th>
- <th>@Html.DisplayNameFor(m => m.ResumeType)</th>
- <th>@Html.DisplayNameFor(m => m.IsFullTime)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>@Html.DisplayFor(m => m.JalaliCreateDate)</td>
- <td>@Html.DisplayFor(m => m.JalaliExpireDate)</td>
- <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.ResumeTypes)Model.ResumeType)</td>
- <td>@(Model.IsFullTime ? "بله" : "خیر")</td>
- </tr>
- </tbody>
- </table>
- <table class="table table-stripped table-bordered">
- <thead>
- <tr>
- <th colspan="2">ویژگی</th>
- <th>میزان اهمیت</th>
- </tr>
- </thead>
- <tbody>
- @foreach (var param in Model.Parameters)
- {
- if (!string.IsNullOrWhiteSpace(param.StringValue))
- {
- <tr>
- <th>@param.ParameterName</th>
- <td>@(param.DisplayMethod == 4 ? param.ParameterValues.FirstOrDefault(v => v.Item1.ToString() == param.StringValue).Item2 : param.StringValue)</td>
- <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.MuSCoW)param.MoscowValue)</td>
- </tr>
- }
- }
- </tbody>
- </table>
- </div>
- </div>
- </div>
|