Skip to content

Commit 7dca71b

Browse files
committed
fix naming in templates, event_context
1 parent 752545e commit 7dca71b

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

website/archiver/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ def send_archiver_uncaught_error_mails(src, user, results, url):
114114
'src_title': src.title,
115115
'src_url': src.url,
116116
'url': url,
117+
'src__id': src._id,
118+
'results': results,
117119
}
118120
)
119121
NotificationType.Type.USER_ARCHIVE_JOB_UNCAUGHT_ERROR.instance.emit(

website/project/views/contributor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ def send_claim_email(
542542
'user_fullname': unclaimed_record['name'],
543543
'node_title': node.title,
544544
'logo': logo,
545+
'node_absolute_url': node.absolute_url,
545546
'osf_contact_email': settings.OSF_CONTACT_EMAIL,
546547
}
547548
)

website/templates/invite_default.html.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
%>
99
Hello ${user_fullname},<br>
1010
<br>
11-
You have been added by ${referrer_name} as a contributor to the project <a href="${node_absolute_url}">${node_title}</a> on the Open Science Framework.<br>
11+
You have been added by ${referrer_fullname} as a contributor to the project <a href="${node_absolute_url}">${node_title}</a> on the Open Science Framework.<br>
1212
<br>
1313
<a href="${claim_url}">Click here</a> to set a password for your account.<br>
1414
<br>

0 commit comments

Comments
 (0)