Commit e24ddcde authored by Renato Silva's avatar Renato Silva Committed by Commit Bot

Chrome OS - Enterprise Enrollment Success Screen

Move the message 'This device will be managed by example.com' from the
footer to the subtitle slot. Also, render the domain name using normal
face instead of bold.

Fixed: 1051851
Change-Id: Ic0fd0a582940f4c280d95ab13fbd0cbb1ad8b1d5
Bug: 1051851
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2069539Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Auto-Submit: Renato Silva <rrsilva@google.com>
Cr-Commit-Position: refs/heads/master@{#743904}
parent 038e787b
......@@ -2652,7 +2652,7 @@
Successful enrollment illustration
</message>
<message name="IDS_ENTERPRISE_ENROLLMENT_SUCCESS_DOMAIN" desc="Success message to be shown once enterprise enrollment completes.">
This <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph> will be managed by <ph name="BEGIN_BOLD">&lt;strong&gt;</ph><ph name="DOMAIN">$2<ex>acmecorp.com</ex></ph><ph name="END_BOLD">&lt;/strong&gt;</ph>.
This <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph> will be managed by <ph name="DOMAIN">$2<ex>acmecorp.com</ex></ph>.
</message>
<message name="IDS_ENTERPRISE_ENROLLMENT_SUCCESS_ABE_SUPPORT" desc="Recommendation to contact support. Shown once attestation-based enterprise enrollment completes.">
If this is unexpected, please contact support.
......
......@@ -134,17 +134,17 @@
<hd-iron-icon slot="oobe-icon"
icon1x="oobe-32:enterprise" icon2x="oobe-64:enterprise">
</hd-iron-icon>
<div slot="footer" class="flex layout vertical center end-justified">
<!-- Hide the subtitle if the domain could not be determined. -->
<div hidden="[[isEmpty_(enrolledDomain_)]]" class="self-start">
<html-echo content=
"[[successText_(locale, deviceName_, enrolledDomain_)]]">
</html-echo>
<!-- Attestation-based enrollment happens automatically and may
not be wanted by the user. Simple warning. -->
<div hidden="[[!isAutoEnroll_]]"
>[[i18nDynamic(locale, 'oauthEnrollAbeSuccessSupport')]]</div>
<!-- Hide the subtitle if the domain could not be determined. -->
<div hidden="[[isEmpty_(enrolledDomain_)]]" class="self-start"
slot="subtitle">
<div>[[successText_(locale, deviceName_, enrolledDomain_)]]</div>
<!-- Attestation-based enrollment happens automatically and may
not be wanted by the user. Simple warning. -->
<div hidden="[[!isAutoEnroll_]]"
>[[i18nDynamic(locale, 'oauthEnrollAbeSuccessSupport')]]
</div>
</div>
<div slot="footer" class="flex layout vertical center end-justified">
<img srcset="images/enrollment_success_illustration_1x.png 1x,
images/enrollment_success_illustration_2x.png 2x"
i18n-values="alt:enrollmentSuccessIllustrationTitle"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment