0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 11:52:54 +01:00

Add admin sidebar section link

Dieser Commit ist enthalten in:
Angus McLeod 2024-04-15 08:58:03 +02:00
Ursprung bf8bbfba1b
Commit 36c4518722
2 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -98,6 +98,13 @@ export default {
return categories; return categories;
}, },
}); });
api.addAdminSidebarSectionLink("plugins", {
name: "admin_wizards",
label: "admin.wizard.nav_label",
route: "adminWizardsWizard",
icon: "hat-wizard",
});
}); });
}, },
}; };

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
# version: 2.6.6 # version: 2.6.7
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact_emails: development@pavilion.tech # contact_emails: development@pavilion.tech
@ -14,6 +14,7 @@ gem 'discourse_plugin_statistics', '0.1.0.pre7', require: true
register_asset 'stylesheets/common/admin.scss' register_asset 'stylesheets/common/admin.scss'
register_asset 'stylesheets/common/wizard.scss' register_asset 'stylesheets/common/wizard.scss'
register_svg_icon 'pavilion-logo' register_svg_icon 'pavilion-logo'
register_svg_icon "hat-wizard"
enabled_site_setting :custom_wizard_enabled enabled_site_setting :custom_wizard_enabled