zulip/static
YashRE42 d814a8476c navbar: Show "(no description)" when necessary.
This commit has us piggy back the conditional for narrow_description
off of the conditional for sub_count, the reason for this approach is
that "narrow_description" needs to handle four unique cases:
- The stream exists and has a description.
- The stream exists and does not have a description.
- The stream does not exist and we must render appropriate text.
- We are not in a stream narrow and the span should not be rendered.

By piggy backing off of sub count we can get the first and last case,
with the inner conditional (on rendered_narrow_description) handling
the second case and the tab_bar.js passing appropriate values to the
template to handle the third case.

This unfortunately makes the template more brittle such that breakage
of the subcount can cause breakage (non rendering) of the description
as well.
2020-05-27 13:49:12 -07:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html static: Serve webpack bundles from the root domain. 2020-04-10 00:48:02 -07:00
images integrations: Add bot avatar for grafana. 2020-05-11 01:07:44 -07:00
js js: Use hasOwnProperty correctly or not at all. 2020-05-26 23:33:40 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles landing: Fix responsive styling for navbar custom messages. 2020-05-26 22:58:02 -07:00
templates navbar: Show "(no description)" when necessary. 2020-05-27 13:49:12 -07:00
third markdown: Add timestamp syntax to markdown processors. 2020-05-20 14:23:55 -07:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00
favicon.ico