mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update the color and wording of the warning message shown on SL
This commit is contained in:
parent
f5e34630f8
commit
33a4882bd3
2 changed files with 16 additions and 10 deletions
|
@ -4,13 +4,19 @@ if hasFeature('v2-banner')
|
|||
li.notification_entry
|
||||
.row
|
||||
.col-xs-12
|
||||
.alert.alert-info
|
||||
.alert.alert-danger
|
||||
.notification_inner
|
||||
.notification_body(event-tracking="sees_v2_banner" 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") Try Overleaf v2
|
||||
| ShareLaTeX is joining Overleaf and will become <em>Overleaf v2</em> in late 2018 (<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/help/342-overleaf-v2-faq">read more</a>).
|
||||
<br/>
|
||||
| We’re beta testing Overleaf v2 now and you can try it out with your ShareLaTeX account.
|
||||
.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") ×
|
||||
|
|
|
@ -38,11 +38,11 @@ define [
|
|||
$scope.notification.error = true
|
||||
|
||||
App.controller "OverleafV2NotificationController", ($scope, localStorage) ->
|
||||
$scope.visible = !localStorage('overleaf_v2_notification_hidden_at')
|
||||
$scope.visible = !localStorage('overleaf_v2_2_notification_hidden_at')
|
||||
|
||||
$scope.dismiss = () ->
|
||||
$scope.visible = false
|
||||
localStorage('overleaf_v2_notification_hidden_at', Date.now())
|
||||
localStorage('overleaf_v2_2_notification_hidden_at', Date.now())
|
||||
|
||||
App.controller "OverleafV1NotificationController", ($scope, localStorage) ->
|
||||
$scope.visible = !localStorage('overleaf_v1_notification_hidden_at')
|
||||
|
|
Loading…
Reference in a new issue