summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Contests/Index.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Views/Contests/Index.cshtml')
-rw-r--r--Project-Unite/Views/Contests/Index.cshtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project-Unite/Views/Contests/Index.cshtml b/Project-Unite/Views/Contests/Index.cshtml
index b83db41..a752cbd 100644
--- a/Project-Unite/Views/Contests/Index.cshtml
+++ b/Project-Unite/Views/Contests/Index.cshtml
@@ -26,7 +26,7 @@
@if (Request.IsAuthenticated)
{
- if (User.Identity.IsDeveloper())
+ if (User.Identity.IsAdmin())
{
<ul class="nav nav-tabs">
<li><a href="@Url.Action("CreateContest")"><span class="glyphicon glyphicon-plus"></span> Open a contest!</a></li>
@@ -76,7 +76,7 @@
}
@if (Request.IsAuthenticated)
{
- if (User.Identity.IsDeveloper())
+ if (User.Identity.IsAdmin())
{
<a href="@Url.Action("CloseContest", "Contests", new { id = c.Id })" class="btn btn-danger"><span class="close"></span> End contest</a>
}