Sha256: dfeb358e6a0737489453407c97d94b707b383c9420ccd4d74f54e845b2556ab5

Contents?: true

Size: 508 Bytes

Versions: 246

Compression:

Stored size: 508 Bytes

Contents

/**
 * @ngdoc filter
 * @name  Bastion.tasks.filter:taskInputCompile
 *
 * @description
 *   Produces the shortest possible version of humanized input of a
 *   task, used for list of recent user tasks.
 */

angular.module('Bastion.tasks')
    .filter('taskInputShort', function () {
        return function (humanizedTaskInput) {
            if (_.isString(humanizedTaskInput)) {
                return humanizedTaskInput;
            }
            return _.first(humanizedTaskInput, 1);
        };
    });

Version data entries

246 entries across 246 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.11.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.11.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js
katello-4.11.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js