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.
 
 
 
 

68 lines
2.5 KiB

@model Sevomin.Models.DovominViewModel
@{
ViewBag.Title = "Dovomin";
}
<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>