Aman Agrawal
93a03dcf3a
message_list_view: Mark trailing bookend using a new variable.
...
We need to mark trailing bookends differently to identify them
in DOM easily. This fixes a bookend replication bug which can
happen sometimes when rendering.
2022-01-31 16:42:46 -08:00
Tim Abbott
6065d66d3d
bookend: Simplify can_toggle_subscription variable flow.
2022-01-31 16:39:16 -08:00
Aman Agrawal
0ce2ae1782
bookend: Use it to advertise recent topics for spectators.
...
We show a minimal text "Browse recent topics" at the end of
every narrow. This will help new users to find additional
content on the app.
Fixes #19844
2022-01-31 16:32:09 -08:00
Aman Agrawal
0a614fe985
bookend: Move conditional bookend content inside the template.
...
We move the stream subscribed/unsubscribed bookend info from
js files to bookend handlebar.
Tweaked by tabbott to override the check-templates indentation logic.
2022-01-31 16:32:09 -08:00
Anders Kaseorg
70bf9914b2
message_list: Convert bookend_content messages to FormatJS.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-13 17:41:10 -07:00
Anders Kaseorg
3c3471b720
templates: Rename *.handlebars ↦ *.hbs and - ↦ _.
...
Tweaked by tabbott to avoid accidentally disabling the linter for
handlebars templates.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-07-12 21:11:03 -07:00