Sha256: 10281faf8eb175dd38f723754378d9f2fff256f574c5abcf7e4b802743b2a5e4

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

<div>
  <h3><%= _('Content Sync') %></h3>

  <div bst-alerts error-messages="syncErrorMessages"></div>

  {{ syncStatusText(syncState, syncStatus) }}
  <div ng-show="syncState.is(syncState.SYNCING, syncState.SYNC_TRIGGERED, syncState.CANCEL_TRIGGERED, syncState.FAILURE)">
    {{syncTask.progressbar.value || 0}}%
    <a href="<%= @task_search_url %>" target="_self">
      <div ng-class="{ active: isTaskInProgress(syncTask) }" class="progress progress-striped">
        <span progressbar
          animate="false"
          value="syncTask.progressbar.value || 0"
          type="{{ progressbarType(syncTask) }}"></span>
      </div>
    </a>
  </div>

  <div>
    <span translate>Last sync:</span> {{ syncStatus.last_sync_time }}
  </div>

  <br>

  <div>
    <a ng-show="syncState.is(syncState.SYNCING, syncState.SYNC_TRIGGERED, syncState.CANCEL_TRIGGERED)"
      ng-click="cancelSync()" class="btn btn-default" ng-disabled="!syncState.is(syncState.SYNCING)">
      <span translate>Cancel Sync</span>
    </a>
    <a ng-hide="syncState.is(syncState.SYNCING, syncState.SYNC_TRIGGERED, syncState.CANCEL_TRIGGERED)"
      ng-click="syncCapsule()" class="btn btn-default">
      <span translate>Synchronize</span>
    </a>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.1 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc7 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc5 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc4 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc3 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc2 app/views/foreman/smart_proxies/_content_sync.html.erb
katello-3.0.0.rc1 app/views/foreman/smart_proxies/_content_sync.html.erb