Files
zulip/web/templates/creator_details.hbs
sujal shah 3b69f2e5d9 stream_settings: Extract creator_detail section.
Extract display_pill and date code to separate
'creator_detail.hbs' file.
Rename 'stream_creator_details' to 'creator_details'.
2024-09-13 18:44:58 -07:00

21 lines
683 B
Handlebars

{{#if creator}}
{{#tr}}
Created by <z-user></z-user> on <z-date-created></z-date-created>.
{{#*inline "z-user"}}
{{> user_display_only_pill
is_inline=true
user_id=creator.user_id
img_src=creator.avatar_url
display_value=creator.full_name
is_current_user=is_creator
is_active=creator.is_active }}
{{/inline}}
{{#*inline "z-date-created"}}{{date_created_string}}{{/inline}}
{{/tr}}
{{else}}
{{#tr}}
Created on <z-date-created></z-date-created>.
{{#*inline "z-date-created"}}{{date_created_string}}{{/inline}}
{{/tr}}
{{/if}}