A platform for community discussion. Free, open, simple.
UX: Apply new admin UI guidelines to What's New (#28454)
Martin Brennane60b808f49d7
diff --git a/app/assets/javascripts/admin/addon/templates/whats-new.hbs b/app/assets/javascripts/admin/addon/templates/whats-new.hbsindex 485551e211f..062b3ba4511 100644--- a/app/assets/javascripts/admin/addon/templates/whats-new.hbs+++ b/app/assets/javascripts/admin/addon/templates/whats-new.hbs@@ -1,5 +1,16 @@<div class="admin-config-area">- <h2>{{i18n "admin.dashboard.new_features.title"}}</h2>- <p>{{html-safe (i18n "admin.dashboard.new_features.subtitle")}}</p>+ <AdminPageHeader+ @titleLabel="admin.dashboard.new_features.title"+ @descriptionLabel="admin.dashboard.new_features.subtitle"+ @learnMoreUrl="https://meta.discourse.org/tags/c/announcements/67/release-notes"+ >+ <:breadcrumbs>+ <DBreadcrumbsItem+ @path="/admin/whats-new"+ @label={{i18n "admin.dashboard.new_features.title"}}+ />+ </:breadcrumbs>+ </AdminPageHeader>+<DashboardNewFeatures /></div>\ No newline at end of filediff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex fa420eb6950..df50da596a6 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -5071,7 +5071,7 @@ en:problems_found: "Some advice based on your current site settings"new_features:title: "What's new"- subtitle: "For even more detail about new features and improvements we are adding all the time, see <a href='https://meta.discourse.org/tags/c/announcements/67/release-notes' target='_blank'>Release notes</a>."+ subtitle: "We are releasing new features and improvements all the time. This page covers the highlights, but you can click 'Learn more' to see extensive release notes."previous_announcements: "You can see previous new feature announcements on <a href='%{url}' target='_blank'>Discourse Meta</a>"learn_more: "Learn more..."last_checked: "Last checked"