Fix wording of userHasSubscription to userHasNoSubscription

This commit is contained in:
Shane Kilkelly
2016-07-19 11:37:58 +01:00
parent 3aea3a68d1
commit 4e1df9f476
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@
) #{translate("complete")}
.row-spaced(ng-if="hasProjects && userHasSubscription", ng-cloak, sixpack-switch="left-menu-upgraed-rotation").text-centered
.row-spaced(ng-if="hasProjects && userHasNoSubscription", ng-cloak, sixpack-switch="left-menu-upgraed-rotation").text-centered
span(sixpack-default).text-centered
hr
p.small #{translate("on_free_sl")}
@@ -155,6 +155,6 @@
| #{translate("or_unlock_features_bonus")}
a(href="/user/bonus") #{translate("sharing_sl")} .
script.
window.userHasSubscription = #{settings.enableSubscriptions && !hasSubscription}
window.userHasNoSubscription = #{settings.enableSubscriptions && !hasSubscription}

View File

@@ -5,5 +5,5 @@ define [
App.controller 'LeftHandMenuPromoController', ($scope) ->
$scope.hasProjects = window.data.projects.length > 0
$scope.userHasSubscription = window.userHasSubscription
$scope.userHasNoSubscription = window.userHasNoSubscription
$scope.randomView = _.shuffle(["default", "dropbox", "github"])[0]