mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1060 from sharelatex/ja-remove-v2-banner
Remove unneeded v2 banner GitOrigin-RevId: 972afc2bd07ab64b0dd558cf1f15c0272f575b87
This commit is contained in:
parent
fd8b7fbb6c
commit
2421e15d7a
2 changed files with 0 additions and 26 deletions
|
@ -14,8 +14,6 @@ module.exports = Features =
|
|||
return Settings.enableGithubSync
|
||||
when 'v1-return-message'
|
||||
return Settings.accountMerge? and Settings.overleaf?
|
||||
when 'v2-banner'
|
||||
return Settings.showV2Banner
|
||||
when 'custom-togglers'
|
||||
return Settings.overleaf?
|
||||
when 'publish-templates'
|
||||
|
|
|
@ -1,27 +1,3 @@
|
|||
if hasFeature('v2-banner')
|
||||
.userNotifications
|
||||
ul.list-unstyled.notifications-list(ng-controller="OverleafV2NotificationController", ng-show="visible")
|
||||
li.notification_entry
|
||||
.row
|
||||
.col-xs-12
|
||||
.alert.alert-danger
|
||||
.notification_inner
|
||||
.notification_body(event-tracking="sees_v2_banner_2" event-tracking-mb="true" event-segmentation="{location: 'welcome', v2_onboard: true}" event-tracking-trigger="load" event-tracking-send-once="true")
|
||||
a.btn.btn-info.btn-sm.pull-right(
|
||||
event-tracking="go_to_v2"
|
||||
event-tracking-mb="true"
|
||||
event-segmentation="{location: 'welcome', v2_onboard: true}"
|
||||
event-tracking-trigger="click"
|
||||
href="/user/login_to_ol_v2"
|
||||
style="margin-left: 8px;"
|
||||
) Go to Overleaf v2
|
||||
i.fa.fa-bullhorn
|
||||
| Good news! Overleaf and ShareLaTeX have joined forces to bring you <em>Overleaf v2</em>, which is based on the ShareLaTeX editor and combines the best of both services. All ShareLaTeX accounts will move to Overleaf v2 on <strong>September 4th, 2018</strong> (<a event-tracking="click_v2_read_more" event-tracking-mb="true" event-segmentation="{location: 'welcome', v2_onboard: true}" event-tracking-trigger="click" href="https://www.overleaf.com/blog/654-overleaf-v2-launch-announcement" style="text-decoration: underline">read more</a>). You can also <a href="/user/login_to_ol_v2" style="text-decoration: underline">try Overleaf v2 now</a>.
|
||||
.notification_close
|
||||
button(ng-click="dismiss()" event-tracking="closes_v2_banner" event-tracking-mb="true" event-segmentation="{location: 'welcome', v2_onboard: true}" event-tracking-trigger="click").close.pull-right
|
||||
span(aria-hidden="true") ×
|
||||
span.sr-only #{translate("close")}
|
||||
|
||||
span(ng-controller="NotificationsController").userNotifications
|
||||
ul.list-unstyled.notifications-list(
|
||||
ng-if="notifications.length > 0",
|
||||
|
|
Loading…
Reference in a new issue