summaryrefslogtreecommitdiffstats
path: root/templates/question.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/question.html')
-rw-r--r--templates/question.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/question.html b/templates/question.html
index eaff9da3..a0fc194d 100644
--- a/templates/question.html
+++ b/templates/question.html
@@ -27,7 +27,7 @@
{% if not question.closed and request.user.is_authenticated %}initEditor();{% endif %}
lanai.highlightSyntax();
- $('#btLogin').bind('click', function(){window.location.href='/account/signin/'; } )
+ $('#btLogin').bind('click', function(){window.location.href='{% url user_signin %}'; } )
});
function initEditor(){
@@ -112,7 +112,7 @@
<div id="question-tags" class="tags" >
{% for tag in question.tagname_list %}
<a href="{% url forum.views.tag tag|urlencode %}" class="post-tag"
- title="{% trans "see questions tagged" %}'{{ tag }}'{% trans "using tags" %}" rel="tag">{{ tag }}</a>
+ title="{% trans "see questions tagged" %} '{{ tag }}' {% trans "using tags" %}" rel="tag">{{ tag }}</a>
{% endfor %}
</div>
<div id="question-controls" style="clear:both;">
@@ -164,7 +164,7 @@
{% gravatar question.last_edited_by 32 %}
</td>
<td style="width:160px; vertical-align:top">
- <a href="/users/{{ question.last_edited_by.id }}/{{ question.last_edited_by.username }}">{{ question.last_edited_by.username }}</a>
+ <a href="{% url users %}{{ question.last_edited_by.id }}/{{ question.last_edited_by.username }}">{{ question.last_edited_by.username }}</a>
</td>
</tr>
{% else %}
@@ -179,7 +179,7 @@
{% gravatar question.last_edited_by 32 %}
</td>
<td style="width:160px; vertical-align:top">
- <div><a href="/users/{{ question.last_edited_by.id }}/{{ question.last_edited_by.username }}">{{ question.last_edited_by.username }}</a></div>
+ <div><a href="{% url users %}{{ question.last_edited_by.id }}/{{ question.last_edited_by.username }}">{{ question.last_edited_by.username }}</a></div>
<div>
{% get_score_badge question.last_edited_by %}
@@ -213,7 +213,7 @@
{% gravatar question.author 32 %}
</td>
<td align="left" style="width:160px;vertical-align:top">
- <div><a href="/users/{{ question.author.id }}/{{ question.author }}">{{ question.author }}</a></div>
+ <div><a href="{% url users %}{{ question.author.id }}/{{ question.author }}">{{ question.author }}</a></div>
<div>
{% get_score_badge question.author %}
</div>
@@ -346,7 +346,7 @@
{% gravatar answer.last_edited_by 32 %}
</td>
<td style="width:160px; vertical-align:top">
- <div><a href="/users/{{ answer.last_edited_by.id }}/{{ answer.last_edited_by.username }}">{{ answer.last_edited_by.username }}</a></div>
+ <div><a href="{% url users %}{{ answer.last_edited_by.id }}/{{ answer.last_edited_by.username }}">{{ answer.last_edited_by.username }}</a></div>
</td>
</tr>
@@ -362,7 +362,7 @@
{% gravatar answer.last_edited_by 32 %}
</td>
<td style="width:160px; vertical-align:top">
- <div><a href="/users/{{ answer.last_edited_by.id }}/{{ answer.last_edited_by.username }}">{{ answer.last_edited_by.username }}</a></div>
+ <div><a href="{% url users %}{{ answer.last_edited_by.id }}/{{ answer.last_edited_by.username }}">{{ answer.last_edited_by.username }}</a></div>
<div>
{% get_score_badge answer.last_edited_by %}
</div>
@@ -392,7 +392,7 @@
{% gravatar answer.author 32 %}
</td>
<td style="width:160px; vertical-align:top">
- <div><a href="/users/{{ answer.author.id }}/{{ answer.author.username }}">{{ answer.author }}</a></div>
+ <div><a href="{% url users %}{{ answer.author.id }}/{{ answer.author.username }}">{{ answer.author }}</a></div>
<div>
{% get_score_badge answer.author %}
</div>
@@ -503,7 +503,7 @@
<div class="questions-related">
{% for question in similar_questions %}
<p>
- <a href="/questions/{{question.id}}/{{ question.get_question_title }}">{{ question.get_question_title }}</a>
+ <a href="{% url questions %}{{question.id}}/{{ question.get_question_title }}">{{ question.get_question_title }}</a>
</p>
{% endfor %}
</div>