Skip to content

Commit

Permalink
Merge branch 'release/1.0.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Jan 22, 2025
2 parents 22b6882 + fdd13e3 commit 2b54925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions edc_export/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def raise_if_prohibited_from_export_pii_group(username: str, groups: Iterable) -
{
"groups": format_html(
"This user is not allowed to export PII data. You may not add "
"this user to the <U>{}</U> group.",
"EXPORT_PII",
"this user to the <U>{text}</U> group.",
text="EXPORT_PII",
)
}
)
4 changes: 2 additions & 2 deletions edc_export/views/export_selected_models_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def post(self, request: WSGIRequest, *args, **kwargs) -> HttpResponseRedirect:
request,
format_html(
"Your account does not include an email address. "
'Please update your <a href="{}">user account</a> '
'Please update your <a href="{user_url}">user account</a> '
"and try again.",
mark_safe(user_url), # nosec B308 B703
user_url=mark_safe(user_url), # nosec B308 B703
),
)
else:
Expand Down

0 comments on commit 2b54925

Please sign in to comment.