diff --git a/fedcode/templates/navbar.html b/fedcode/templates/navbar.html index 04bae9b..78492ee 100644 --- a/fedcode/templates/navbar.html +++ b/fedcode/templates/navbar.html @@ -1,3 +1,5 @@ +{% load static %} + @@ -33,15 +35,20 @@ - {% if user.person %} + {% if user.person or user.service %} + {% if user.service %} + + {% else %} + {% endif %} + {% if user.person %} {% if request.path == '/users/@'|add:user.username %} @@ -52,6 +59,28 @@ Profile {% endif %} + {% endif %} + {% if user.service %} + {% if request.path == '/create-repo' %} + + Add Repo + + {% else %} + + Add Repo + + {% endif %} + {% if request.path == '/repo-list' %} + + All Repo + + {% else %} + + All Repo + + {% endif %} + {% endif %} + Log out