mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Enable the v2 banner for everyone if showV2Banner is set
This commit is contained in:
parent
ed7b68169e
commit
58b5d67bdd
2 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ module.exports = Features =
|
||||||
return Settings.enableGithubSync
|
return Settings.enableGithubSync
|
||||||
when 'v1-return-message'
|
when 'v1-return-message'
|
||||||
return Settings.accountMerge? and Settings.overleaf?
|
return Settings.accountMerge? and Settings.overleaf?
|
||||||
|
when 'v2-banner'
|
||||||
|
return Settings.showV2Banner
|
||||||
when 'custom-togglers'
|
when 'custom-togglers'
|
||||||
return Settings.overleaf?
|
return Settings.overleaf?
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
if (user.awareOfV2 && !settings.overleaf)
|
if hasFeature('v2-banner')
|
||||||
.userNotifications
|
.userNotifications
|
||||||
ul.list-unstyled.notifications-list(ng-controller="OverleafV2NotificationController", ng-show="visible")
|
ul.list-unstyled.notifications-list(ng-controller="OverleafV2NotificationController", ng-show="visible")
|
||||||
li.notification_entry
|
li.notification_entry
|
||||||
|
|
Loading…
Reference in a new issue