2018-09-06 14:56:00 -04:00
|
|
|
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: "paint-brush"
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2017-04-13 15:49:46 -04:00
|
|
|
export default Ember.Route.extend({
|
2018-09-06 14:56:00 -04:00
|
|
|
setupController(controller, model) {
|
|
|
|
this._super(...arguments);
|
2017-04-13 15:49:46 -04:00
|
|
|
this.controllerFor("adminCustomizeThemes").set("editingTheme", false);
|
2018-09-06 14:56:00 -04:00
|
|
|
controller.set("externalResources", externalResources);
|
2018-06-15 11:03:24 -04:00
|
|
|
}
|
2017-04-13 15:49:46 -04:00
|
|
|
});
|