diff options
Diffstat (limited to 'templates/user_responses.html')
-rw-r--r-- | templates/user_responses.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/user_responses.html b/templates/user_responses.html index 0ada494c..45aab21b 100644 --- a/templates/user_responses.html +++ b/templates/user_responses.html @@ -1,3 +1,4 @@ +<!-- user_responses.html --> {% extends "user.html" %} {% load extra_tags %} {% load humanize %} @@ -9,7 +10,7 @@ <div style="width:150px;float:left">{% diff_date response.time 3 %}</div> <div style="width:100px;float:left"><a href="{{ response.userlink }}">{{ response.username }}</a></div> <div style="float:left;overflow:hidden;width:680px"> - <strong {% ifequal response.type "回答问题"%}class="user-action-2"{% endifequal %}{% ifequal response.type "最佳答案"%}class="user-action-8"{% endifequal %}>{{ response.type }}</strong>: + <strong {% ifequal response.type "question_answered" %}class="user-action-2"{% endifequal %}{% ifequal response.type "answer_accepted" %}class="user-action-8"{% endifequal %}>{{ response.type }}</strong>: <a href="{{ response.titlelink }}">{{ response.title }}</a><br> {{ response.content|safe }} <div style="height:10px"></div> @@ -18,4 +19,5 @@ </div> {% endfor %} </div> -{% endblock %}
\ No newline at end of file +{% endblock %} +<!-- end user_responses.html --> |