diff --git a/website/templates/includes/navbar.html b/website/templates/includes/navbar.html index 9500ddddb..27ccc0e90 100644 --- a/website/templates/includes/navbar.html +++ b/website/templates/includes/navbar.html @@ -6,17 +6,51 @@ {% load i18n %} {% load custom_tags %} + + + + - + - + @@ -29,7 +63,7 @@ {% trans "Search" %} - + {% if request.user.is_authenticated %} @@ -52,11 +86,11 @@ {% endif %} - + - + - Report Issues, Win Prizes + {% trans "Report Issues, Win Prizes" %} @@ -65,10 +99,10 @@ - - {% trans "Report a Bug" %} + + {% trans "Report a Bug" %} - + {% trans "Bughunts" %} @@ -77,75 +111,78 @@ - + {% if request.user.is_authenticated %} - - + + {% if request.user.userprofile.avatar %} - + {% elif request.user.socialaccount_set.all.0.get_avatar_url %} - + {% else %} {% gravatar request.user.email 30 '' 'gravatar rounded-full' %} {% endif %} - {{ request.user.username }} ({{ request.user|score|default:"0" }} Pts) + {{ request.user.username }} ({{ request.user|score|default:"0" }} Pts) - + - - - - {% trans "User Profile" %} - - - - - - {% trans "Add to chrome" %} - - - - - {% trans "Start a Bug Hunt" %} - - - - - - {% trans "Social" %} - - - - - {% trans "Change Password" %} - - - - - {% trans "Invite Friends" %} - - - - - {% trans "Company Dashboard" %} - - - - - - {% trans "Logout" %} - - - + + + + + {% trans "User Profile" %} + + + + + + {% trans "Add to chrome" %} + + + + + {% trans "Start a Bug Hunt" %} + + + + + + {% trans "Social" %} + + + + + {% trans "Change Password" %} + + + + + {% trans "Invite Friends" %} + + + + + {% trans "Company Dashboard" %} + + + + + + + {% trans "Logout" %} + + + + {% else %} - + {% trans "Signup" %} {% trans "Login" %} @@ -155,73 +192,5 @@ {% endif %} - - - - - {% comment %} - - Found a bug ? - - - Report here - - - - - - {% csrf_token %} - - - - - {{ form.description.value|default:"" }} - - - - General - Number error - Functional - Performance - Security - Typo - Design - - - - - - - - {% trans "Upload Screenshot" %} - - - - - {% csrf_token %} - {{ captcha_form.captcha }} - - - - {% trans "Report Bug" %} - +3 - - - - - - - - - {% endcomment %}
Report Issues, Win Prizes
{% trans "Report Issues, Win Prizes" %}
Found a bug ?