summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question/answer_card.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/question/answer_card.html')
-rw-r--r--askbot/templates/question/answer_card.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/askbot/templates/question/answer_card.html b/askbot/templates/question/answer_card.html
index ae7d30fa..9d17e8c2 100644
--- a/askbot/templates/question/answer_card.html
+++ b/askbot/templates/question/answer_card.html
@@ -4,28 +4,28 @@
<a class="old_answer_id_anchor" name="{{ answer.old_answer_id }}"></a>
{% endif %}
<div
- id="post-id-{{ answer.id }}"
- class="{{ macros.answer_classes(answer, question) }}">
+ id="post-id-{{ answer.id }}"
+ data-post-id="{{ answer.id }}"
+ class="post answer {{ macros.answer_classes(answer, question) }}"
+>
+
<div class="vote-buttons">
{% include "question/answer_vote_buttons.html" %}
</div>
- <div class="answer-table">
-
- <div class="item-right">
- <div class="answer-body">
- <div class="post-update-info-container">
- {% include "question/answer_author_info.html" %}
- </div>
- {% if answer.id in published_answer_ids %}
- <p><strong>{% trans %}This response is published{% endtrans %}</strong></p>
- {% endif %}
- {{ answer.html }}
+ <div class="post-content">
+ <div class="post-body">
+ <div class="post-update-info-container">
+ {% include "question/answer_author_info.html" %}
</div>
- <div class="answer-controls post-controls">
- {% include "question/answer_controls.html" %}
- </div>
- {% include "question/answer_comments.html" %}
+ {% if answer.id in published_answer_ids %}
+ <p><strong>{% trans %}This response is published{% endtrans %}</strong></p>
+ {% endif %}
+ {{ answer.html }}
+ </div>
+ <div class="answer-controls post-controls">
+ {% include "question/answer_controls.html" %}
</div>
+ {% include "question/answer_comments.html" %}
</div>
<div class="clean"></div>
</div>