mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 12:32:32 -05:00
42 lines
2.1 KiB
Text
42 lines
2.1 KiB
Text
if (user.awareOfV2 && !settings.overleaf)
|
||
.alert.alert-info.small
|
||
a.pull-right.btn.btn-info.btn-sm(href="/user/login_to_ol_v2" style="margin-left: 12px") Click here to try Overleaf v2
|
||
p
|
||
| ShareLaTeX is joining Overleaf and will become <em>Overleaf v2</em> in late 2018 (<a 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.
|
||
|
||
span(ng-controller="NotificationsController").userNotifications
|
||
ul.list-unstyled.notifications-list(
|
||
ng-if="notifications.length > 0",
|
||
ng-cloak
|
||
)
|
||
li.notification_entry(
|
||
ng-repeat="notification in notifications",
|
||
)
|
||
.row(ng-hide="notification.hide")
|
||
.col-xs-12
|
||
.alert.alert-info(ng-if="notification.templateKey == 'notification_project_invite'", ng-controller="ProjectInviteNotificationController")
|
||
div.notification_inner
|
||
.notification_body(ng-show="!notification.accepted")
|
||
| !{translate("notification_project_invite_message")}
|
||
a.pull-right.btn.btn-sm.btn-info(href, ng-click="accept()", ng-disabled="notification.inflight")
|
||
span(ng-show="!notification.inflight") #{translate("join_project")}
|
||
span(ng-show="notification.inflight")
|
||
i.fa.fa-fw.fa-spinner.fa-spin
|
||
|
|
||
| #{translate("joining")}...
|
||
.notification_body(ng-show="notification.accepted")
|
||
| !{translate("notification_project_invite_accepted_message")}
|
||
a.pull-right.btn.btn-sm.btn-info(href="/project/{{ notification.messageOpts.projectId }}") #{translate("open_project")}
|
||
span().notification_close
|
||
button(ng-click="dismiss(notification)").close.pull-right
|
||
span(aria-hidden="true") ×
|
||
span.sr-only #{translate("close")}
|
||
.alert.alert-info(ng-if="notification.templateKey != 'notification_project_invite'")
|
||
div.notification_inner
|
||
span(ng-bind-html="notification.html").notification_body
|
||
span().notification_close
|
||
button(ng-click="dismiss(notification)").close.pull-right
|
||
span(aria-hidden="true") ×
|
||
span.sr-only #{translate("close")}
|