Commits vergleichen
1 Commit
main
...
resume_mod
Autor | SHA1 | Datum | |
---|---|---|---|
|
748c60154b |
5 geänderte Dateien mit 24 neuen und 5 gelöschten Zeilen
|
@ -12,12 +12,15 @@
|
|||
//= require message-bus
|
||||
|
||||
//= require_tree_discourse discourse/app/models
|
||||
//= require discourse/app/controllers/basic-modal-body
|
||||
//= require discourse/app/controllers/modal
|
||||
|
||||
//= require discourse/app/helpers/category-link
|
||||
//= require discourse/app/helpers/user-avatar
|
||||
//= require discourse/app/helpers/format-username
|
||||
//= require discourse/app/helpers/share-url
|
||||
//= require discourse/app/helpers/decorate-username-selector
|
||||
//= require discourse/app/helpers/route-action
|
||||
//= require discourse-common/addon/helpers/component-for-collection
|
||||
//= require discourse-common/addon/helpers/component-for-row
|
||||
//= require discourse-common/addon/lib/raw-templates
|
||||
|
@ -39,7 +42,8 @@
|
|||
//= require discourse/app/components/date-input
|
||||
//= require discourse/app/components/date-time-input
|
||||
//= require discourse/app/components/text-field
|
||||
//= require discourse/app/components/d-textarea
|
||||
//= require discourse/app/components/d-textarea
|
||||
//= require discourse/app/components/d-modal
|
||||
|
||||
//= require discourse/app/templates/components/conditional-loading-spinner
|
||||
//= require discourse/app/templates/components/d-button
|
||||
|
@ -53,6 +57,7 @@
|
|||
//= require discourse/app/templates/category-tag-autocomplete
|
||||
//= require discourse/app/templates/emoji-selector-autocomplete
|
||||
//= require discourse/app/templates/user-selector-autocomplete
|
||||
//= require discourse/app/templates/modal
|
||||
|
||||
//= require discourse/app/initializers/jquery-plugins
|
||||
//= require discourse/app/pre-initializers/sniff-capabilities
|
||||
|
@ -81,4 +86,4 @@
|
|||
//= require_tree ./wizard/lib
|
||||
//= require_tree ./wizard/models
|
||||
//= require_tree ./wizard/routes
|
||||
//= require_tree ./wizard/templates
|
||||
//= require_tree ./wizard/templates
|
|
@ -105,10 +105,11 @@ export default {
|
|||
});
|
||||
|
||||
ApplicationRoute.reopen({
|
||||
redirect() {
|
||||
this.transitionTo("custom");
|
||||
},
|
||||
model() {},
|
||||
renderTemplate() {
|
||||
this.render("application");
|
||||
this.render("modal", { into: "application", outlet: "modal" });
|
||||
}
|
||||
});
|
||||
|
||||
$.ajaxPrefilter(function (_, __, jqXHR) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import WizardI18n from "../lib/wizard-i18n";
|
||||
import { getCachedWizard } from "../models/custom";
|
||||
import showModal from "discourse/lib/show-modal";
|
||||
|
||||
export default Ember.Route.extend({
|
||||
beforeModel() {
|
||||
|
@ -43,4 +44,14 @@ export default Ember.Route.extend({
|
|||
|
||||
controller.setProperties(props);
|
||||
},
|
||||
|
||||
renderTemplate() {
|
||||
this.render("custom.step");
|
||||
const modalController = showModal('resume-popup-modal');
|
||||
},
|
||||
|
||||
actions: {
|
||||
closeModal(initiatedBy) {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
{{outlet}}
|
||||
{{outlet "modal"}}
|
1
assets/javascripts/wizard/templates/modal.resume-popup-modal.hbs
Normale Datei
1
assets/javascripts/wizard/templates/modal.resume-popup-modal.hbs
Normale Datei
|
@ -0,0 +1 @@
|
|||
<h1>hello world</h1>
|
Laden …
In neuem Issue referenzieren