Sha256: de5c0c2be7983b3ba369f5411595531da0ecb2e5678f87e83511352804af735b

Contents?: true

Size: 1.69 KB

Versions: 8

Compression:

Stored size: 1.69 KB

Contents

<span page-title ng-model="activationKey">{{ 'Subscriptions for Activation Key:' | translate }} {{ activationKey.name }}</span>

<section>
  <h4 translate>Activation Key Type:</h4>

  <div class="details">
    <span class="info-label" translate>Auto-Attach</span>
    <span class="info-value"
          bst-edit-checkbox="activationKey.auto_attach"
          formatter="booleanToYesNo"
          readonly="denied('edit_activation_keys', activationKey)"
          on-save="save(activationKey)">
    </span>
  </div>
  <p bst-alert="info" ng-hide="!activationKey.auto_attach">
    <span>When Auto Attach is enabled, registering systems will be attached to all associated custom products and only associated Red Hat subscriptions required to satisfy the system's installed products.</span>
  </p>
  <p bst-alert="info" ng-hide="activationKey.auto_attach">
    <span translate>When Auto Attach is disabled, registering systems will be attached to all associated subscriptions.</span>
  </p>
</section>

<nav>
  <ul class="nav nav-tabs" ng-show="permitted('edit_activation_keys', activationKey)">
    <li ng-class="{active: isState('activation-key.subscriptions.list')}">
      <a ui-sref="activation-key.subscriptions.list">
        <!-- TODO: other pages too - label "List" vs. "List/Remove" based on edit permissions -->
        <span translate>
          List/Remove
        </span>
      </a>
    </li>

    <!-- TODO: permissions? ng-show="activationKey.permissions.editable" -->
    <li ng-class="{active: stateIncludes('activation-key.subscriptions.add')}">
      <a ui-sref="activation-key.subscriptions.add">
        <span translate>
          Add
        </span>
      </a>
    </li>
  </ul>
</nav>

<div ui-view></div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html