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.
 
 
 
 

85 lines
4.4 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>
@if (Request.IsAuthenticated && User.IsInRole("Dovomin"))
{
<div class="row">
<div class="col-md-4 rtl">
<span>میزان مطابقت شما با این فرصت شغلی @ViewBag.Affinity درصد می باشد.</span>
<div class="progress progress-striped">
<div class="progress-bar @(ViewBag.MinimumRequirement ? "progress-bar-success" : "progress-bar-warning")" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: @(ViewBag.Affinity)%">
<span class="sr-only">@ViewBag.Affinity %</span>
</div>
</div>
</div>
<div class="col-md-8 rtl">
@if (!ViewBag.MinimumRequirement)
{
<span class="text-warning"><em>این فرصت شغلی نیاز به مهارت هایی دارد که با پروفایل شما مطابقت ندارد. اگر هنوز اطلاعات خود را کامل نکرده اید، به صفحه <a href="@Url.Action("MyProfile", "Account")">ویرایش پروفایل</a> مراجعه نمایید.</em></span>
}
else
{
<span class="text-success"><em>شما تمامی مهارت های الزامی مورد نیاز این فرصت شغلی را دارید.</em></span>
}
</div>
</div>
}
<p class="rtl">
<b>@Model.Description</b>
</p>
<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>