summaryrefslogtreecommitdiffstats
path: root/templates/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/header.html b/templates/header.html
index 5751bed0..6f8657b3 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -6,7 +6,7 @@
<div id="top">
<!--<div id="header">-->
{% if request.user.is_authenticated %}
- <a href="/users/{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %}
+ <a href="{% url users %}{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %}
<a href="{% url logout %}">{% trans "logout" %}</a>
{% else %}
<a href="{% url user_signin %}">{% trans "login" %}</a>
@@ -39,7 +39,7 @@
{% comment %}<!-- i think this needs to be removed -e.f. -->
{% if request.user.is_authenticated %}
- <a id="nav_profile" href="/users/{{ request.user.id }}/{{ request.user.username }}/">{% trans "my profile" %}</a>
+ <a id="nav_profile" href="{% url user %}{{ request.user.id }}/{{ request.user.username }}/">{% trans "my profile" %}</a>
{% endif %}
{% endcomment %}
</div>
@@ -52,7 +52,7 @@
<table width="100%" height="60" border="0" cellpadding="0" cellspacing="0" class="content">
<tr>
<td align="center" valign="middle">
- <form action="/search/" method="GET">
+ <form action="{% url search %}" method="GET">
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" >
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" >