Sha256: 85cb12612b66ea30af928a3874db97ef1f12827813fb79fff334961822bb9b73
Contents?: true
Size: 811 Bytes
Versions: 100
Compression:
Stored size: 811 Bytes
Contents
/** * @ngdoc service * @name Bastion.content-views.service:FilterHelper * * @requires translate * * @description * Provides helper methods for common Filter operations. */ angular.module('Bastion.content-views').service('FilterHelper', ['translate', function (translate) { this.contentTypes = { 'rpm': translate('RPM'), 'erratum': translate('Errata'), 'package_group': translate('Package Groups'), 'docker': translate('Container Image Tags'), 'modulemd': translate('Module Streams') }; this.contentType = function (type) { return this.contentTypes[type]; }; this.type = function (type) { return type ? translate('Include') : translate('Exclude'); }; }] );
Version data entries
100 entries across 100 versions & 1 rubygems