diff --git a/pointMaster/Controllers/HeaderNavController.cs b/pointMaster/Controllers/HeaderNavController.cs
index 36aaf4f..1bf9f45 100644
--- a/pointMaster/Controllers/HeaderNavController.cs
+++ b/pointMaster/Controllers/HeaderNavController.cs
@@ -23,6 +23,10 @@ namespace pointMaster.Controllers
{
vm.links.Add(new NavUrl("Giv point", "/point/givpoint"));
}
+ else
+ {
+ vm.links.Add(new NavUrl("Log ind", "/account/signin"));
+ }
if (HttpContext.User.Claims.FirstOrDefault(x => x.Value == Roles.Editor) != null)
diff --git a/pointMaster/Views/Home/Index.cshtml b/pointMaster/Views/Home/Index.cshtml
index a33b58a..3a264b7 100644
--- a/pointMaster/Views/Home/Index.cshtml
+++ b/pointMaster/Views/Home/Index.cshtml
@@ -8,6 +8,28 @@
+
+
Point
+
+
+
+ |
+ Patrulje |
+ Point |
+
+
+
+ @for (var i = 0; i < Model.Points.Count; i++)
+ {
+
+ | @(i + 1) |
+ @Model.Points[i].Patrulje.Name |
+ @Model.Points[i].point |
+
+ }
+
+
+
-
-
Point
-
-
-
- |
- Patrulje |
- Point |
-
-
-
- @for (var i = 0; i < Model.Points.Count; i++)
- {
-
- | @(i+1) |
- @Model.Points[i].Patrulje.Name |
- @Model.Points[i].point |
-
- }
-
-
-