You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

60 lines
2.7 KiB

@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>