Skip to content
Open
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
5 changes: 4 additions & 1 deletion templates/ContentGenerator/Feedback/feedback_email.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
% } elsif ($set) {
Message from <%= $user->full_name %> (<%= $user->user_id %>) via WeBWorK at
<%= $ce->{institutionName} %>
(sent from <%= link_to format_set_name_display($set->set_id) => $emailableURL %>)
(sent from <%= link_to format_set_name_display($set->set_id) => $emailableURL %>).
% } else {
Message from <%= $user->full_name %> (<%= $user->user_id %>) via WeBWorK at
<%= $ce->{institutionName} %> (sent from <%= link_to 'this page' => $emailableURL %>).
% }
</p>
% if ($numRecipients > 1) {
<p><%= maketext('Message delivered to multiple recipients. Consider using reply-all.') =%></p>
% }
% if ($feedback) {
<div style="border: 1px solid lightgray; padding: 1rem; margin-bottom: 1rem; border-radius: 0.375rem">
% for (split /\n\r?/, $feedback) {
Expand Down
4 changes: 4 additions & 0 deletions templates/ContentGenerator/Feedback/feedback_email.txt.ep
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Feedback sent from <%= format_set_name_display($set->set_id) %>:
Feedback sent from:
% }
<%== $emailableURL %>
% if ($numRecipients > 1) {

<%= maketext('Message delivered to multiple recipients. Consider using reply-all.') %>
% }

% if ($feedback) {
<%== $user->full_name %> (<%== $user->user_id %>) wrote:
Expand Down