mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
Add "further reading for themes" step to wizard
This commit is contained in:
parent
43e33302e1
commit
a93aa5bbce
|
@ -188,6 +188,10 @@ body.wizard {
|
|||
|
||||
.wizard-step-contents {
|
||||
height: 550px;
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #6699ff;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard-column-contents {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user