Sha256: ddea532b11de8c1fed9e7cd099ecf8d2cf25d6898476d03c2effd496deb31676

Contents?: true

Size: 507 Bytes

Versions: 196

Compression:

Stored size: 507 Bytes

Contents

/**
 * @ngdoc filter
 * @name  Bastion.content-views.filter:FilterContentType
 *
 * @requires FilterHelper
 *
 * @description
 *   A filter to turn a filter type into an eaiser to read string.
 *
 * @example
 *   {{ 'rpm' | filterContentType }} will produce the string "Packages".
 */
angular.module('Bastion.content-views').filter('filterContentType',
    ['FilterHelper', function (FilterHelper) {

        return function (type) {
            return FilterHelper.contentType(type);
        };

    }]
);

Version data entries

196 entries across 196 versions & 1 rubygems

Version Path
katello-4.4.2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.0.rc4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-4.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js