From 467746c246c3f62887592096289d97ef80b1e13c Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Wed, 4 May 2022 14:08:24 -0400 Subject: [PATCH] s/Return to application/Cancel/g --- crates/templates/src/res/pages/consent.html | 2 +- crates/templates/src/res/pages/login.html | 2 +- crates/templates/src/res/pages/reauth.html | 2 +- crates/templates/src/res/pages/register.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/templates/src/res/pages/consent.html b/crates/templates/src/res/pages/consent.html index 72dda19e..f15a82b3 100644 --- a/crates/templates/src/res/pages/consent.html +++ b/crates/templates/src/res/pages/consent.html @@ -85,7 +85,7 @@ limitations under the License.
{{ back_to_client::link( - text="Return to application", + text="Cancel", class=button::text_class(), uri=grant.redirect_uri, mode=grant.response_mode, diff --git a/crates/templates/src/res/pages/login.html b/crates/templates/src/res/pages/login.html index 11e3e9ba..432f87c4 100644 --- a/crates/templates/src/res/pages/login.html +++ b/crates/templates/src/res/pages/login.html @@ -52,7 +52,7 @@ limitations under the License. {% if next and next.kind == "continue_authorization_grant" %}
{{ back_to_client::link( - text="Return to application", + text="Cancel", class=button::text_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode, diff --git a/crates/templates/src/res/pages/reauth.html b/crates/templates/src/res/pages/reauth.html index 388b4fd4..1b286aae 100644 --- a/crates/templates/src/res/pages/reauth.html +++ b/crates/templates/src/res/pages/reauth.html @@ -57,7 +57,7 @@ limitations under the License. {% if next and next.kind == "continue_authorization_grant" %}
{{ back_to_client::link( - text="Return to application", + text="Cancel", class=button::text_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode, diff --git a/crates/templates/src/res/pages/register.html b/crates/templates/src/res/pages/register.html index 67e01357..d3ab2bae 100644 --- a/crates/templates/src/res/pages/register.html +++ b/crates/templates/src/res/pages/register.html @@ -52,7 +52,7 @@ limitations under the License. {% if next and next.kind == "continue_authorization_grant" %}
{{ back_to_client::link( - text="Return to application", + text="Cancel", class=button::text_class(), uri=next.grant.redirect_uri, mode=next.grant.response_mode,