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
{{#with realm_export}}
<tr class="export_row" id="export_{{id}}" data-export-id="{{id}}">
    <td>
        <span class="acting_user">{{acting_user}}</span>
    </td>
    <td>
        <span>{{export_type_description}}</span>
    </td>
    <td>
        <span class="export_time">{{event_time}}</span>
    </td>
    <td>
        {{#if url}}
        <span class="export_url"><a href="{{url}}" download>{{t 'Complete' }}</a></span>
        {{else if time_failed}}
        <span class="export_status">{{t 'Failed' }}: {{time_failed}}</span>
        {{else if pending}}
        <div class="export_url_spinner"></div>
        {{else if time_deleted}}
        <span class="export_status">{{t 'Deleted' }}: {{time_deleted}}</span>
        {{else if export_from_prior_server}}
        <span class="export_status">{{t 'Export from a prior server' }}</span>
        {{/if}}
    </td>
    <td class="actions">
        {{#if url}}
        {{> ../components/icon_button
          icon="trash"
          intent="danger"
          custom_classes="tippy-zulip-delayed-tooltip delete"
          data-tippy-content=(t "Delete")
          aria-label=(t "Delete")
          }}
        {{/if}}
    </td>
</tr>
{{/with}}