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.6 KiB

  1. @model Sevomin.Models.JobViewModel
  2. @{
  3. ViewBag.Title = string.Format("{0} {1}", "جزییات آگهی جذب نیروی برنامه ریزی پروژه", ViewBag.ShortJobDescription);
  4. }
  5. <div class="row">
  6. <div class="col-md-12">
  7. <h2 class="rtl">جذب نیروی برنامه ریزی پروژه</h2>
  8. <h4 class="rtl">@ViewBag.ShortJobDescription</h4>
  9. <div class="table-responsive rtl">
  10. @if (User.IsInRole("Dovomin"))
  11. {
  12. <p>
  13. <a class="btn btn-primary btn-xs" href="@Url.Action("Apply", "Job", new { jobId = Model.Id })"><span class="glyphicon glyphicon-ok"></span> اعلام آمادگی</a>
  14. </p>
  15. }
  16. <table class="table table-bordered">
  17. <thead>
  18. <tr>
  19. <th>@Html.DisplayNameFor(m => m.JalaliCreateDate)</th>
  20. <th>@Html.DisplayNameFor(m => m.JalaliExpireDate)</th>
  21. <th>@Html.DisplayNameFor(m => m.ResumeType)</th>
  22. <th>@Html.DisplayNameFor(m => m.IsFullTime)</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. <tr>
  27. <td>@Html.DisplayFor(m => m.JalaliCreateDate)</td>
  28. <td>@Html.DisplayFor(m => m.JalaliExpireDate)</td>
  29. <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.ResumeTypes)Model.ResumeType)</td>
  30. <td>@(Model.IsFullTime ? "بله" : "خیر")</td>
  31. </tr>
  32. </tbody>
  33. </table>
  34. <table class="table table-stripped table-bordered">
  35. <thead>
  36. <tr>
  37. <th colspan="2">ویژگی</th>
  38. <th>میزان اهمیت</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. @foreach (var param in Model.Parameters)
  43. {
  44. if (!string.IsNullOrWhiteSpace(param.StringValue))
  45. {
  46. <tr>
  47. <th>@param.ParameterName</th>
  48. <td>@(param.DisplayMethod == 4 ? param.ParameterValues.FirstOrDefault(v => v.Item1.ToString() == param.StringValue).Item2 : param.StringValue)</td>
  49. <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.MuSCoW)param.MoscowValue)</td>
  50. </tr>
  51. }
  52. }
  53. </tbody>
  54. </table>
  55. </div>
  56. </div>
  57. </div>