mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 09:05:47 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
32 lines
862 B
JavaScript
32 lines
862 B
JavaScript
import Route from "@ember/routing/route";
|
|
import { emojiUrlFor } from "discourse/lib/text";
|
|
|
|
const externalResources = [
|
|
{
|
|
key: "admin.customize.theme.beginners_guide_title",
|
|
link: "https://meta.discourse.org/t/91966",
|
|
icon: "book",
|
|
},
|
|
{
|
|
key: "admin.customize.theme.developers_guide_title",
|
|
link: "https://meta.discourse.org/t/93648",
|
|
icon: "book",
|
|
},
|
|
{
|
|
key: "admin.customize.theme.browse_themes",
|
|
link: "https://meta.discourse.org/c/theme",
|
|
icon: "paintbrush",
|
|
},
|
|
];
|
|
|
|
export default class AdminCustomizeThemesIndexRoute extends Route {
|
|
setupController(controller) {
|
|
super.setupController(...arguments);
|
|
this.controllerFor("adminCustomizeThemes").set("editingTheme", false);
|
|
controller.setProperties({
|
|
externalResources,
|
|
womanArtistEmojiURL: emojiUrlFor("woman_artist:t5"),
|
|
});
|
|
}
|
|
}
|