mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Fix wording of userHasSubscription to userHasNoSubscription
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user