comparison sat_templates/templates/bulma/merge-request/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 1c330913ff13
comparison
equal deleted inserted replaced
246:1928ba66c194 247:40fccd3b7cf0
55 <h4 class="title is-4">{{item.widget_value['title']}}</h1> 55 <h4 class="title is-4">{{item.widget_value['title']}}</h1>
56 {{ item.widget_value['body'] }} 56 {{ item.widget_value['body'] }}
57 57
58 </div> 58 </div>
59 {% if comments is defined %} 59 {% if comments is defined %}
60 {{ blog.show_items(comments|reverse, expanded=true) }} 60 {{ blog.show_items(comments['items']|reverse, expanded=true) }}
61 {% endif %} 61 {% endif %}
62 {% if comments_node is defined %} 62 {% if comments_node is defined %}
63 <div class="comment_post"> 63 <div class="comment_post">
64 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} 64 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}}
65 </div> 65 </div>