and some more...

This commit is contained in:
TidusJar 2016-05-15 23:56:52 -04:00
commit 8dcb8022ab
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
<div class="col-sm-12">
<div class="pull-right">
<div class="btn-group">
@if (Context.CurrentUser.IsAuthenticated())
@if (Context.CurrentUser.IsAuthenticated()) //TODO replace with IsAdmin
{
@if (Model.SearchForMovies)
{

View file

@ -43,7 +43,7 @@
<ul class="nav navbar-nav navbar-right">
@if (!Context.CurrentUser.IsAuthenticated())
@if (!Context.CurrentUser.IsAuthenticated()) // TODO replace with IsAdmin
{
<li><a href="@url/login?redirect=@Context.Request.Path"><i class="fa fa-user"></i> Admin</a></li>