comparison sat_templates/templates/bulma/ticket/item.html @ 247:40fccd3b7cf0

updated code to handle blog items following data structure change in backend/Libervia
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:32 +0200
parents 1928ba66c194
children
comparison
equal deleted inserted replaced
246:1928ba66c194 247:40fccd3b7cf0
38 <h4 class="title is-4">{{item.widget_value['title']}}</h1> 38 <h4 class="title is-4">{{item.widget_value['title']}}</h1>
39 {{ item.widget_value['body'] }} 39 {{ item.widget_value['body'] }}
40 40
41 </div> 41 </div>
42 {% if comments is defined %} 42 {% if comments is defined %}
43 {{ blog.show_items(comments|reverse, expanded=true) }} 43 {{ blog.show_items(comments['items']|reverse, expanded=true) }}
44 {% endif %} 44 {% endif %}
45 {% if comments_node is defined %} 45 {% if comments_node is defined %}
46 <div class="comment_post"> 46 <div class="comment_post">
47 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} 47 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}}
48 </div> 48 </div>