Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tchap/resources/templates/pages/consent.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,21 @@ <h1 class="title">{{ _("mas.consent.heading") }}</h1>
{{ button.button(text=_("action.continue")) }}
</form>


<!--
:tchap:
<div class="flex gap-1 justify-center items-center">
<p class="cpd-text-secondary cpd-text-body-md-regular">
{{ _("mas.not_you", username=current_session.user.username) }}
</p>

{{ logout.button(text=_("action.sign_out"), csrf_token=csrf_token, post_logout_action=action, as_link=true) }}
</div>

<!-- :tchap:
{{ back_to_client.link(
text=_("action.cancel"),
kind="tertiary",
uri=grant.redirect_uri,
mode=grant.response_mode,
params=dict(error="access_denied", state=grant.state)
) }}
:tchap:
-->
-->
</section>
{% endblock content %}
6 changes: 3 additions & 3 deletions tchap/resources/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"cancel": "Cancel",
"@cancel": {
"context": "consent.html:69:11-29, pages/consent.html:79:11-29, pages/device_consent.html:127:13-31, pages/policy_violation.html:44:13-31"
"context": "consent.html:69:11-29, pages/consent.html:76:11-29, pages/device_consent.html:127:13-31, pages/policy_violation.html:44:13-31"
},
"continue": "Continue",
"@continue": {
Expand All @@ -22,7 +22,7 @@
},
"sign_out": "Sign out",
"@sign_out": {
"context": "index.html:37:28-48, pages/account/logged_out.html:22:28-48, pages/consent.html:75:28-48, pages/device_consent.html:136:30-50, pages/index.html:28:28-48, pages/policy_violation.html:38:28-48, pages/sso.html:45:28-48, pages/upstream_oauth2/link_mismatch.html:24:24-44, pages/upstream_oauth2/suggest_link.html:32:26-46"
"context": "index.html:37:28-48, pages/account/logged_out.html:22:28-48, pages/consent.html:72:28-48, pages/device_consent.html:136:30-50, pages/index.html:28:28-48, pages/policy_violation.html:38:28-48, pages/sso.html:45:28-48, pages/upstream_oauth2/link_mismatch.html:24:24-44, pages/upstream_oauth2/suggest_link.html:32:26-46"
},
"skip": "Skip",
"@skip": {
Expand Down Expand Up @@ -489,7 +489,7 @@
},
"not_you": "Not %(username)s?",
"@not_you": {
"context": "consent.html:62:11-67, pages/consent.html:72:11-67, pages/device_consent.html:133:13-69, pages/sso.html:42:11-67",
"context": "consent.html:62:11-67, pages/consent.html:69:11-67, pages/device_consent.html:133:13-69, pages/sso.html:42:11-67",
"description": "Suggestions for the user to log in as a different user"
},
"or_separator": "Or",
Expand Down
Loading