Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1269 Resolved the bug to show correct {{eventName}} on compose message page #1275

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void sendMessages(String eventName, Optional<Integer> categoryId, List<Me
.parallel()
.map(t -> {
Model model = new ExtendedModelMap();
model.addAttribute("eventName", eventName);
model.addAttribute("eventName", event.getDisplayName());
model.addAttribute("fullName", t.getFullName());
model.addAttribute("organizationName", organization.getName());
model.addAttribute("organizationEmail", organization.getEmail());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h6>the syntax is defined by <a href="http://mustache.github.io/mustache.5.html"
<dl class="wMarginTop">

<dt><span data-uib-tooltip="the name of the event" data-ng-non-bindable>{{eventName}}</span></dt>
<dd>{{eventName}}</dd>
<dd>{{eventDisplayName}}</dd>

<dt><span data-uib-tooltip="Either the name of the attendee or the name of the reservation owner" data-ng-non-bindable>{{fullName}}</span></dt>
<dd>{{fullName}}</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2171,6 +2171,7 @@
var eventDescriptor = results[1].data;
$scope.organization = eventDescriptor.organization;
$scope.eventName = eventDescriptor.event.shortName;
$scope.eventDisplayName = eventDescriptor.event.displayName;
$scope.onlineEvent = eventDescriptor.event.online;
});

Expand Down
Loading