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.
 
 
 
 

36 lines
2.2 KiB

<nav class="navbar navbar-default 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">
<li class="rtl"><a href="@Url.Action("Index", "Home")"><span class="glyphicon glyphicon-home"></span> @(User.IsInRole("Dovomin") ? "آگهی های استخدام" : "خانه")</a></li>
@if (!Request.IsAuthenticated)
{
<li class="rtl"><a href="@Url.Action("RecentJobs", "Job")">آگهی‌های استخدام</a></li>
<li class="rtl"><a href="@Url.Action("Login", "Account")">ورود به سایت</a></li>
}
else
{
<li class="dropdown rtl"><a href="#" class="dropdown-toggle" data-toggle="dropdown">پروفایل <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="rtl"><a href="@Url.Action("MyProfile", "Account")"><span class="glyphicon glyphicon-user"></span> ویرایش پروفایل</a></li>
<li class="rtl"><a href="@Url.Action("ChangePassword", "Account")"><span class="glyphicon glyphicon-refresh"></span> تغییر کلمه عبور</a></li>
</ul>
</li>
<li class="rtl"><a href="@Url.Action("Logout", "Account")">خروج از سایت</a></li>
}
</ul>
</div>
</div>
</nav>