and some more...

pull/226/head
TidusJar 9 years ago
parent db6f28f980
commit 8dcb8022ab

@ -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)
{

@ -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>

Loading…
Cancel
Save