Просмотр исходного кода

Add the project name as a translation local var when rendering project invites.

GitOrigin-RevId: 80f4b10adc142173c2194f56c55df8b3ce9f948b
Paulo Reis 7 лет назад
Родитель
Сommit
f902eb7d4a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/app/views/project/list/notifications.pug

+ 1 - 1
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")