@model Sevomin.Models.DovominViewModel
|
|
|
|
@{
|
|
ViewBag.Title = Model.DisplayName;
|
|
}
|
|
|
|
<div class="page-header rtl">
|
|
<h1>پروفایل @Model.DisplayName</h1>
|
|
</div>
|
|
|
|
<div class="table-responsive rtl">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>@Html.DisplayNameFor(m => m.JalaliBirthDate)</th>
|
|
<th>تمایل به کار فول تایم</th>
|
|
<th>تمایل به کار پارت تایم</th>
|
|
<th>@Html.DisplayNameFor(m => m.EnglishResume)</th>
|
|
<th>@Html.DisplayNameFor(m => m.PersianResume)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>@Html.DisplayFor(m => m.JalaliBirthDate)</td>
|
|
<td>@(Model.IsFullTime ? "بله" : "خیر")</td>
|
|
<td>@(Model.IsPartTime ? "بله" : "خیر")</td>
|
|
<td>
|
|
@if (!string.IsNullOrWhiteSpace(Model.EnglishResume)){
|
|
<a class="rtl" href="@Url.RouteUrl("EnglishResumeGrabber")" class="pull-left"><span class="glyphicon glyphicon-arrow-down"></span>فایل رزومه انگلیسی</a>
|
|
}
|
|
else {
|
|
<span>ندارد</span>
|
|
}
|
|
</td>
|
|
<td>
|
|
@if (!string.IsNullOrWhiteSpace(Model.PersianResume)){
|
|
<a class="rtl" href="@Url.RouteUrl("PersianResumeGrabber")" class="pull-left"><span class="glyphicon glyphicon-arrow-down"></span>فایل رزومه فارسی</a>
|
|
}
|
|
else {
|
|
<spanp>ندارد</spanp>
|
|
}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>
|
|
@Model.Description
|
|
</p>
|
|
<table class="table table-stripped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">توانایی های فردی</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>
|
|
</tr>
|
|
}
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|