From f902eb7d4a82f15cb406ccadbe2e3e3fa1055b6d Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 4 Feb 2019 17:41:27 +0000 Subject: [PATCH] Add the project name as a translation local var when rendering project invites. GitOrigin-RevId: 80f4b10adc142173c2194f56c55df8b3ce9f948b --- services/web/app/views/project/list/notifications.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/project/list/notifications.pug b/services/web/app/views/project/list/notifications.pug index 243fefae94..6e77204cf7 100644 --- a/services/web/app/views/project/list/notifications.pug +++ b/services/web/app/views/project/list/notifications.pug @@ -12,7 +12,7 @@ span(ng-controller="NotificationsController").userNotifications .alert.alert-info(ng-switch-when="notification_project_invite", ng-controller="ProjectInviteNotificationController") div.notification_inner .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") span(ng-show="!notification.inflight") #{translate("join_project")} span(ng-show="notification.inflight")