annotate sat_templates/templates/bulma/blog/comments_panel.html @ 325:8c779fb46384

bulma (components/block): interests_grid is more customisable: - new `delete_icon` argument can be set to `false` if delete icon is not desired - the macro can now be called, the caller then get 2 arguments: part to customise and current interest. Part to customise can be: * `header-title`: markup to put in the title * `content`: car content (replaces the default `interest.name`)
author Goffi <goffi@goffi.org>
date Sat, 01 May 2021 18:44:47 +0200
parents a0e889d73bad
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
252
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'input/textbox.html' as textbox with context %}
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'blog/macros.html' as blog with context %}
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
3
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <div class="wrapper">
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <div class="panel_wrapper click_to_close">
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="comments_side_panel">
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <section class="section">
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {{ blog.show_items(comments, expanded=true, dates_fmt='relative') }}
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <div class="comment_post mt-4">
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}}
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
11 </div>
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </section>
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </div>
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
14 </div>
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents:
diff changeset
15 </div>