Sha256: 9206ee61893d95b88172253ff810a4e50d55d4d9cf6f3ca23665d4bb5481f6b7
Contents?: true
Size: 686 Bytes
Versions: 157
Compression:
Stored size: 686 Bytes
Contents
/** * @ngdoc directive * @name Bastion.subscriptions:subscriptionStartDate * * @description * Directive for the subscription start date */ angular.module('Bastion.subscriptions').directive('subscriptionStartDate', function () { return { restrict: 'AE', scope: { subscription: '=subscriptionStartDate' }, templateUrl: 'subscriptions/views/subscription-start-date.html', controller: ['$scope', 'translate', function ($scope, translate) { $scope.checkFutureDate = function (date) { return (Date.parse(date) > Date.parse(Date()) ? translate(' (future)') : ''); }; }] }; });
Version data entries
157 entries across 157 versions & 1 rubygems