<nav class="navbar navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="#">
|
|
<img src="@Url.Content("~/content/images/revert-logo.png")" />
|
|
<small>نسخه آزمایشی</small>
|
|
</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse navbar-right" id="collapse">
|
|
<ul class="nav navbar-nav navbar-right">
|
|
@if (Request.IsAuthenticated) {
|
|
<li class="rtl"><a href="@Url.Action("Logout", "Account")">خروج از سایت</a></li>
|
|
<li class="rtl"><a href="@Url.Action("MyProfile", "Account")"><span class="glyphicon glyphicon-user"></span> ویرایش پروفایل</a></li>
|
|
}
|
|
else {
|
|
<li class="rtl"><a href="@Url.Action("Login", "Account")">ورود به سایت</a></li>
|
|
<li class="rtl"><a href="@Url.Action("", "Jobs")">آگهیهای استخدام</a></li>
|
|
}
|
|
<li class="rtl"><a href="@Url.Action("Index", "Home")"><span class="glyphicon glyphicon-home"></span> @(User.IsInRole("Dovomin") ? "آگهی های استخدام" : "خانه")</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|