feat(content): More Check-in Incentives

This commit is contained in:
SabreCat
2017-04-25 22:13:07 +00:00
parent 984e7f8005
commit 6994c6769a
45 changed files with 508 additions and 13 deletions

View File

@@ -99,7 +99,7 @@ habitrpg.controller('UserCtrl', ['$rootScope', '$scope', '$location', 'User', '$
$scope.getProgressDisplay = function () {
var currentLoginDay = Content.loginIncentives[$scope.profile.loginIncentives];
if (!currentLoginDay) return env.t('moreIncentivesComingSoon');
if (!currentLoginDay) return env.t('checkinReceivedAllRewardsMessage');
var nextRewardAt = currentLoginDay.nextRewardAt;
if (!nextRewardAt) return env.t('moreIncentivesComingSoon');
// if we are on a reward day, let's show progress relative to this