fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Django 1.8
[prawokultury.git]
/
questions
/
templates
/
questions
/
question_detail.html
diff --git
a/questions/templates/questions/question_detail.html
b/questions/templates/questions/question_detail.html
index
2fc5ce0
..
b8770bd
100755
(executable)
--- a/
questions/templates/questions/question_detail.html
+++ b/
questions/templates/questions/question_detail.html
@@
-1,13
+1,22
@@
{% extends "base.html" %}
{% extends "base.html" %}
-{% load url from future %}
-{% block
"titleextra"
%}{{ question|linebreaksbr }} :: {% endblock %}
-{% block
"body"
%}
+{% block
titleextra
%}{{ question|linebreaksbr }} :: {% endblock %}
+{% block
body
%}
<h1>{{ question|linebreaksbr }}</h1>
<div class="normal">
<h1>{{ question|linebreaksbr }}</h1>
<div class="normal">
+{% if question.tags.all.count %}
+<p>Tematy:
+{% for tag in question.tags.all %}
+ <a href="{% url 'questions' %}?tag={{ tag.slug }}">{{ tag }}</a>{% if not forloop.last %} / {% endif %}
+{% endfor %}
+{% endif %}
+</p>
+
{{ question.answer }}
{{ question.answer }}
+<p>{{ question.answered_by }}</p>
+
<p><a href="{% url 'questions' %}">Wróć do listy pytań.</a></p>
</div>
<p><a href="{% url 'questions' %}">Wróć do listy pytań.</a></p>
</div>