Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.2 KB
Raw Blame
{{#*inline "creator-details-content"}}
    {{#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}}
{{/inline}}
{{#if group}}
    {{#unless group.is_system_group}}
        {{> creator-details-content .}}
    {{/unless}}
{{else}}
    {{> creator-details-content .}}
{{/if}}
{{#unless (eq stream_id undefined)}}
{{# tr}}
    &nbsp;Channel ID: {stream_id}.
{{/tr}}
{{/unless}}
{{#unless (eq group_id undefined)}}
    {{#if group}}{{#unless group.is_system_group}}&nbsp;{{/unless}}{{else}}&nbsp;{{/if}}{{#tr}}Group ID: {group_id}.{{/tr}}
{{/unless}}