Sha256: ecd393e1f19157a1acd50e3eddd9598ef74373464f8bfe0544549f2180e01277
Contents?: true
Size: 594 Bytes
Versions: 248
Compression:
Stored size: 594 Bytes
Contents
/** * @ngdoc filter * @name Bastion.subscriptions.filter:subscriptionConsumedFilter * * @description * * * @example * */ angular.module('Bastion.subscriptions').filter('subscriptionConsumedFilter', ['$filter', 'translate', function ($filter, translate) { return function (subscription) { var quantity = $filter('unlimitedFilter')(subscription.quantity); return translate('%(consumed)s out of %(quantity)s') .replace('%(consumed)s', subscription.consumed) .replace('%(quantity)s', quantity); }; }] );
Version data entries
248 entries across 248 versions & 1 rubygems