This commit is contained in:
parent
9e90bd2458
commit
92bb87c816
@ -9,7 +9,7 @@
|
||||
|
||||
<div class="card-content white-text">
|
||||
<span class="new badge green" data-badge-caption="">
|
||||
<a href="#post-{{ posto._key }}"> #{{ posto._key }} </a>
|
||||
<a class="orange-text" href="#post-{{ posto._key }}"> #{{ posto._key }} </a>
|
||||
</span>
|
||||
<span class="new badge blue" data-badge-caption="">Ответов: {{ posto.answers_num }}</span>
|
||||
<span class="new badge red" data-badge-caption="">Длина треда: {{ posto.children_num }}</span>
|
||||
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col s8">
|
||||
<!-- <div class="col s8">
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title">#{{ posto._key }}
|
||||
<span class="new badge blue" data-badge-caption="">Ответов: {{ posto.answers_num }}</span>
|
||||
@ -44,26 +44,8 @@
|
||||
<a class="link orange-text purple" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a>
|
||||
{% endif %}
|
||||
<p>{{ posto.texto }}</p>
|
||||
|
||||
<!-- {% if posto.answers_list[0] | length > 0 %}
|
||||
<br>
|
||||
<p>Ответы:</p>
|
||||
<div class="collection">
|
||||
{% for ans in posto.answers_list[0] %}
|
||||
{% if (posto.answers_list[1])[loop.index-1] > 0 %}
|
||||
{% if (posto.answers_list[2])[loop.index-1] > 0 %}
|
||||
<a href="#post-{{ (posto.answers_list[0])[loop.index-1] }}" class="collection-item" style="padding: 2px 2px;">>>{{ (posto.answers_list[0])[loop.index-1] }} (ответов {{ (posto.answers_list[1])[loop.index-1] }}, длина {{ (posto.answers_list[2])[loop.index-1] }})</a>
|
||||
{% else %}
|
||||
<a href="#post-{{ (posto.answers_list[0])[loop.index-1] }}" class="collection-item" style="padding: 2px 2px;">>>{{ (posto.answers_list[0])[loop.index-1] }} (ответов {{ (posto.answers_list[1])[loop.index-1] }})</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<a href="#post-{{ (posto.answers_list[0])[loop.index-1] }}" class="collection-item" style="padding: 2px 2px;">>>{{ (posto.answers_list[0])[loop.index-1] }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %} -->
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col s12">
|
||||
<div class="card-action right">
|
||||
<!-- <a href="#" hx-post="/post_my_post/{{ posto._key }}" hx-target="#neu-posts" >Answer me!</a> -->
|
||||
|
Loading…
Reference in New Issue
Block a user