mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-03-29 08:50:10 +00:00
Fix the consent templates failing to render in tests
This commit is contained in:
@@ -27,7 +27,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
{{ _('mas.consent.continue_to', client_name=client_name) }}
|
||||
</h1>
|
||||
<p class="text [&>span]:whitespace-nowrap [&>span]:text-[var(--cpd-color-text-link-external)]">
|
||||
{{ _("mas.consent.this_will_setup", client_name=client_name, client_uri=(client.client_uri | simplify_url), server_name=branding.server_name) }}
|
||||
{{ _("mas.consent.this_will_setup", client_name=client_name, client_uri=((client.client_uri or grant.redirect_uri) | simplify_url), server_name=branding.server_name) }}
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -30,7 +30,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
</h1>
|
||||
|
||||
<p class="text [&>span]:whitespace-nowrap [&>span]:text-[var(--cpd-color-text-link-external)]">
|
||||
{{ _("mas.device_consent.this_will_setup", client_name=client_name, client_uri=(client.client_uri | simplify_url), server_name=branding.server_name) }}
|
||||
{{ _("mas.device_consent.this_will_setup", client_name=client_name, client_uri=((client.client_uri or "") | simplify_url), server_name=branding.server_name) }}
|
||||
</p>
|
||||
|
||||
<div class="session-card mt-4">
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
},
|
||||
"this_will_setup": "This will set up %(client_name)s (<span>%(client_uri)s</span>) with your <span>%(server_name)s</span> account.",
|
||||
"@this_will_setup": {
|
||||
"context": "pages/consent.html:30:11-149"
|
||||
"context": "pages/consent.html:30:11-173"
|
||||
},
|
||||
"use_another_account": "Use another account",
|
||||
"@use_another_account": {
|
||||
@@ -255,7 +255,7 @@
|
||||
},
|
||||
"this_will_setup": "Another device wants to set up %(client_name)s (<span>%(client_uri)s</span>) with your <span>%(server_name)s</span> account. Make sure you recognise that device.",
|
||||
"@this_will_setup": {
|
||||
"context": "pages/device_consent.html:33:13-158"
|
||||
"context": "pages/device_consent.html:33:13-166"
|
||||
}
|
||||
},
|
||||
"device_display_name": {
|
||||
|
||||
Reference in New Issue
Block a user