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-3.16.0.rc3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.16.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.16.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.16.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.16.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.16.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.rc1.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.rc1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.13.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js
katello-3.13.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js