Add "further reading for themes" step to wizard

This commit is contained in:
Penar Musaraj 2019-05-27 13:11:44 -04:00 committed by Guo Xiang Tan
parent 43e33302e1
commit a93aa5bbce
3 changed files with 17 additions and 0 deletions

View File

@ -188,6 +188,10 @@ body.wizard {
.wizard-step-contents {
height: 550px;
a {
text-decoration: none;
color: #6699ff;
}
}
.wizard-column-contents {

View File

@ -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:
<ul>
<li><a href='https://meta.discourse.org/t/91966' target='_blank'>Beginner's guide to creating themes and theme components</a></li>
<li><a href='https://meta.discourse.org/t/63682' target='_blank'>How do I install a theme or theme component?</a></li>
<li><a href='https://meta.discourse.org/t/110448' target='_blank'>Theme Developer Quick Reference Guide</a></li>
</ul>
And remember to visit the <a href='https://meta.discourse.org/c/theme' target='_blank'>#themes</a> category on <a href='https://meta.discourse.org' target='_blank'>meta.discourse.org</a> regularly to see the newest themes and components posted by staff and contributors."
logos:
title: "Logos"
fields:

View File

@ -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)