mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add the project name as a translation local var when rendering project invites.
GitOrigin-RevId: 80f4b10adc142173c2194f56c55df8b3ce9f948b
This commit is contained in:
parent
ef1bbba618
commit
f902eb7d4a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ span(ng-controller="NotificationsController").userNotifications
|
||||||
.alert.alert-info(ng-switch-when="notification_project_invite", ng-controller="ProjectInviteNotificationController")
|
.alert.alert-info(ng-switch-when="notification_project_invite", ng-controller="ProjectInviteNotificationController")
|
||||||
div.notification_inner
|
div.notification_inner
|
||||||
.notification_body(ng-show="!notification.accepted")
|
.notification_body(ng-show="!notification.accepted")
|
||||||
| !{translate("notification_project_invite_message", { userName: "{{ userName }}" })}
|
| !{translate("notification_project_invite_message", { userName: "{{ userName }}", projectName: "{{ projectName }}" })}
|
||||||
a.pull-right.btn.btn-sm.btn-info(href, ng-click="accept()", ng-disabled="notification.inflight")
|
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") #{translate("join_project")}
|
||||||
span(ng-show="notification.inflight")
|
span(ng-show="notification.inflight")
|
||||||
|
|
Loading…
Reference in a new issue