{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

{{#if (or @config.reportingEnabled (eq @config.enabled "On"))}}
  <EmptyState
    @title="No data received"
    @message="Tracking is turned on and Vault is gathering data. It should appear here within 30 minutes."
    class="is-shadowless"
  />
{{else if @config}}
  <EmptyState
    @title="Data tracking is disabled"
    @message="Tracking is disabled, and no data is being collected. To turn it on, edit the configuration."
    class="is-shadowless"
  >
    {{#if @config.canEdit}}
      <Hds::Link::Standalone
        @icon="chevron-right"
        @iconPosition="trailing"
        @text="Go to configuration"
        @route="vault.cluster.clients.config"
      />
    {{/if}}
  </EmptyState>
{{else}}
  <EmptyState
    @title="Activity configuration data is unavailable"
    @message="Reporting status is unknown and could be enabled or disabled. Check the Vault logs for more information."
    class="is-shadowless"
  />
{{/if}}