<div class="replication-page" data-test-replication-page>
  {{#if this.isLoadingData}}
    <LayoutLoading />
  {{else}}
    {{yield
      (hash
        header=(component
          "replication-header"
          data=this.model
          title=this.formattedReplicationMode
          isSecondary=this.isSecondary
          secondaryId=this.replicationDetails.secondaryId
          isSummaryDashboard=this.isSummaryDashboard
          isDisabled=this.isDisabled
        )
        dashboard=(component
          "replication-dashboard"
          data=this.model
          isSecondary=this.isSecondary
          isSummaryDashboard=this.isSummaryDashboard
          replicationDetailsSummary=this.replicationDetailsSummary
          replicationDetails=this.replicationDetails
          clusterMode=this.clusterMode
          reindexingDetails=this.reindexingDetails
        )
        isDisabled=this.isDisabled
        message=this.message
      )
    }}
  {{/if}}
</div>