From a93aa5bbcedcece5aecbfac285414f25ca2b69ad Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 27 May 2019 13:11:44 -0400 Subject: [PATCH] Add "further reading for themes" step to wizard --- app/assets/stylesheets/wizard.scss | 4 ++++ config/locales/server.en.yml | 11 +++++++++++ lib/wizard/builder.rb | 2 ++ 3 files changed, 17 insertions(+) diff --git a/app/assets/stylesheets/wizard.scss b/app/assets/stylesheets/wizard.scss index 6d62aa44a88..0bd364c49bf 100644 --- a/app/assets/stylesheets/wizard.scss +++ b/app/assets/stylesheets/wizard.scss @@ -188,6 +188,10 @@ body.wizard { .wizard-step-contents { height: 550px; + a { + text-decoration: none; + color: #6699ff; + } } .wizard-column-contents { diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index c1970c49933..d5df29b6e84 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -4330,6 +4330,17 @@ en: colors: title: "Theme" + themes_further_reading: + title: "Further reading for themes" + description: + "You can customize many aspects of your community's look-and-feel in just a few clicks (for example by adding a header or footer). Here is a useful list of resources to learn more about themes and theme components in Discourse: + + And remember to visit the #themes category on meta.discourse.org regularly to see the newest themes and components posted by staff and contributors." + logos: title: "Logos" fields: diff --git a/lib/wizard/builder.rb b/lib/wizard/builder.rb index 65f6519c582..aff1be83759 100644 --- a/lib/wizard/builder.rb +++ b/lib/wizard/builder.rb @@ -198,6 +198,8 @@ class Wizard end end + @wizard.append_step('themes-further-reading') + @wizard.append_step('logos') do |step| step.add_field(id: 'logo', type: 'image', value: SiteSetting.site_logo_url) step.add_field(id: 'logo_small', type: 'image', value: SiteSetting.site_logo_small_url)