summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/question/answer_card.html
blob: 603175598c0a032332e3cdb33e8864ed0766d33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<a name="{{ answer.id }}"></a>
{% if answer.old_answer_id %}
    {# Make old URL anchors/hashes work #}
    <a class="old_answer_id_anchor" name="{{ answer.old_answer_id }}"></a>
{% endif %}
<div
        id="answer-container-{{ answer.id }}"
        class="{{ macros.answer_classes(answer, question) }}">
    <div class="vote-buttons">
        {# ==== START: question/answer_vote_buttons.html ==== #}
        {% include "question/answer_vote_buttons.html" %}
        {# ==== END: question/answer_vote_buttons.html ==== #}
    </div>
    <div class="answer-table">

        <div class="item-right">
            <div class="answer-body">
                <div class="post-update-info-container">
                    {# ==== START: question/answer_author_info.html ==== #}
                    {% include "question/answer_author_info.html" %}
                    {# ==== END: question/answer_author_info.html ==== #}
                </div>
                {{ answer.html }}
            </div>
            <div class="answer-controls post-controls">
                {# ==== START: question/answer_controls.html ==== #}
                {% include "question/answer_controls.html" %}
                {# ==== END: question/answer_controls.html ==== #}
            </div>
            {# ==== START: question/answer_comments.html ==== #}
            {% include "question/answer_comments.html" %}
            {# ==== END: question/answer_comments.html ==== #}
        </div>
    </div>
    <div class="clean"></div>
</div>
<div class="clean"></div>