Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Apr 17, 2024
1 parent d82e34b commit dbe77bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ def get_token(self):

def get_portal(self):
return api.portal.get()

def context_url(self):
return self.context.absolute_url()
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@

</style>
</head>
<body tal:define="portal view/get_portal; token view/get_token; portal_url view/context/portal_url">
<body tal:define="portal view/get_portal; token view/get_token; context_url view/context_url">
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
<tr>
<td>&nbsp;</td>
Expand Down Expand Up @@ -364,8 +364,8 @@
<tr class="mail_help_text">
<td>
<div>
<p i18n:translate="">The form on our site was compiled with this email address, if it was not you, ignore the message.</p>
<p><a href="${portal_url}" i18n:translate="">site</a></p>
<p i18n:translate="">The form on the page below was compiled with this email address, if it was not you, ignore the message.</p>
<p><a href="${context_url}" i18n:translate="">page</a></p>
</div>
</td>
</tr>
Expand Down

0 comments on commit dbe77bf

Please sign in to comment.