annotate sat_templates/templates/bulma/blog/comments_panel.html @ 363:cddac8502c4b

chat/message: fix urlize escaping on nunjucks: Nunjucks imply to use `safe` when using `urlize`, while Jinja2 doesn't. Esacaping and safe filter are added so that `urlize` can work with both engines.
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +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>