Sha256: 398f0b20a518e8519ebf5da2907a5107c41b55eb4e906c3b6a322bfb0ea3d61c

Contents?: true

Size: 1.43 KB

Versions: 24

Compression:

Stored size: 1.43 KB

Contents

/**
 * @ngdoc object
 * @name  Bastion.content-credentials.controller:ContentCredentialACSController
 *
 * @requires $scope
 * @requires Nutupane
 * @requires ContentCredential
 * @requires ApiErrorHandler
 * @requires translate
 *
 * @description
 *   Page for Content Credential acs
 */
(function () {
    function ContentCredentialACSController($scope, Nutupane, ContentCredential, ApiErrorHandler, translate) {
      var nutupane = new Nutupane(ContentCredential, {
          id: $scope.$stateParams.contentCredentialId
      }, 'acs');
      $scope.controllerName = 'katello_content_credentials';

      // Labels so breadcrumb strings can be translated
      $scope.label = translate('Alternate Content Sources');

      nutupane.primaryOnly = true;

      $scope.panel = $scope.panel || {error: false, loading: false};

      $scope.contentCredential = ContentCredential.get({id: $scope.$stateParams.contentCredentialId}, function () {
          $scope.panel.error = false;
          $scope.panel.loading = false;
      }, function (response) {
          $scope.panel.loading = false;
          ApiErrorHandler.handleGETRequestErrors(response, $scope);
      });

      $scope.table = nutupane.table;
  }

    angular.module('Bastion.content-credentials').controller('ContentCredentialACSController', ContentCredentialACSController);
    ContentCredentialACSController.$inject = ['$scope', 'Nutupane', 'ContentCredential', 'ApiErrorHandler', 'translate'];
})();

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
katello-4.16.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-acs.controller.js