Loading public/javascript/app/administrative/views/templates/forms/ActivityEmbeddedContentForm.html 0 → 100644 +5 −0 Original line number Diff line number Diff line <div> <form class="form-horizontal"> <div data-redmic-type="textarea" data-redmic-model="embeddedContent"></div> </form> </div> public/javascript/app/components/steps/EmbeddedContentSetStep.js 0 → 100644 +59 −0 Original line number Diff line number Diff line define([ 'app/base/views/extensions/_EditionFormList' , 'app/components/steps/_RememberDeleteItems' , 'app/designs/formList/layout/Layout' , 'app/designs/formList/main/FormListByStep' , 'dojo/_base/declare' , 'dojo/_base/lang' , 'templates/EmbeddedContentSet' ], function( _EditionFormList , _RememberDeleteItems , Layout , Controller , declare , lang , TemplateList ) { return declare([Layout, Controller, _EditionFormList, _RememberDeleteItems], { // summary: // Step de ActivityEmbeddedContent. constructor: function (args) { this.config = { // WizardStep params label: this.i18n.activityEmbeddedContents, title: this.i18n.associatedEmbeddedContents, propToRead: 'embeddedContents', ownChannel: 'embeddedContentSetStep' }; lang.mixin(this, this.config, args); }, _setConfigurations: function() { this.browserConfig = this._merge([{ browserConfig: { template: TemplateList } }, this.browserConfig || {}]); this._once(this._buildChannel(this.modelChannel, 'gotPropertySchema'), lang.hitch(this, function(res) { this.formConfig = this._merge([{ modelSchema: res.schema, template: 'administrative/views/templates/forms/ActivityEmbeddedContent' }, this.formConfig || {}]); })); this._publish(this._buildChannel(this.modelChannel, 'getPropertySchema'), { key: 'embeddedContents/{i}' }); } }); }); public/javascript/app/designs/details/main/_ActivityCategoryWidgets.js +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ define([ height: 6, type: GenericDisplayer, props: { title: this.i18n.activityEmbeddedContent + ' #' + i, title: this.i18n.activityEmbeddedContent + ' #' + (i + 1), content: embeddedContentParentNode.firstChild } }; Loading public/javascript/app/edition/views/ActivityEditionView.js +8 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ define([ "app/maintenance/domains/admin/views/ActivityTypesView" , "app/components/steps/ContactSetStep" , "app/components/steps/DocumentSetStep" , "app/components/steps/EmbeddedContentSetStep" , "app/components/steps/MainDataStep" , "app/components/steps/OrganisationSetStep" , "app/components/steps/PlatformSetStep" Loading @@ -16,6 +17,7 @@ define([ ActivityType , ContactSetStep , DocumentSetStep , EmbeddedContentSetStep , ActivityMainDataStep , OrganisationSetStep , PlatformSetStep Loading Loading @@ -101,6 +103,12 @@ define([ propertyName: 'resources' }, skippable: true },{ definition: EmbeddedContentSetStep, props: { propertyName: 'embeddedContents' }, skippable: true }] }, this.editorConfig || {}]); } Loading public/javascript/app/nls/es/translation.js +4 −0 Original line number Diff line number Diff line Loading @@ -1404,6 +1404,10 @@ define({ , "metaConfirmRecoverPasswordDescription": "Utilidad de asignación de nueva contraseña para usuarios registrados en REDMIC que lo han solicitado" , "missingEmbeddedContent": "Contenido incrustado no disponible" , "activityEmbeddedContents": "Contenidos incrustados" , "associatedEmbeddedContents": "Contenidos incrustados asociados" , "embeddedContent": "Contenido incrustado" , "embeddedContentPlaceHolder": "Contenido HTML a incrustar" // Para capas que no se pueden cambiar las keys , "descript_1": "Descripción" Loading Loading
public/javascript/app/administrative/views/templates/forms/ActivityEmbeddedContentForm.html 0 → 100644 +5 −0 Original line number Diff line number Diff line <div> <form class="form-horizontal"> <div data-redmic-type="textarea" data-redmic-model="embeddedContent"></div> </form> </div>
public/javascript/app/components/steps/EmbeddedContentSetStep.js 0 → 100644 +59 −0 Original line number Diff line number Diff line define([ 'app/base/views/extensions/_EditionFormList' , 'app/components/steps/_RememberDeleteItems' , 'app/designs/formList/layout/Layout' , 'app/designs/formList/main/FormListByStep' , 'dojo/_base/declare' , 'dojo/_base/lang' , 'templates/EmbeddedContentSet' ], function( _EditionFormList , _RememberDeleteItems , Layout , Controller , declare , lang , TemplateList ) { return declare([Layout, Controller, _EditionFormList, _RememberDeleteItems], { // summary: // Step de ActivityEmbeddedContent. constructor: function (args) { this.config = { // WizardStep params label: this.i18n.activityEmbeddedContents, title: this.i18n.associatedEmbeddedContents, propToRead: 'embeddedContents', ownChannel: 'embeddedContentSetStep' }; lang.mixin(this, this.config, args); }, _setConfigurations: function() { this.browserConfig = this._merge([{ browserConfig: { template: TemplateList } }, this.browserConfig || {}]); this._once(this._buildChannel(this.modelChannel, 'gotPropertySchema'), lang.hitch(this, function(res) { this.formConfig = this._merge([{ modelSchema: res.schema, template: 'administrative/views/templates/forms/ActivityEmbeddedContent' }, this.formConfig || {}]); })); this._publish(this._buildChannel(this.modelChannel, 'getPropertySchema'), { key: 'embeddedContents/{i}' }); } }); });
public/javascript/app/designs/details/main/_ActivityCategoryWidgets.js +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ define([ height: 6, type: GenericDisplayer, props: { title: this.i18n.activityEmbeddedContent + ' #' + i, title: this.i18n.activityEmbeddedContent + ' #' + (i + 1), content: embeddedContentParentNode.firstChild } }; Loading
public/javascript/app/edition/views/ActivityEditionView.js +8 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ define([ "app/maintenance/domains/admin/views/ActivityTypesView" , "app/components/steps/ContactSetStep" , "app/components/steps/DocumentSetStep" , "app/components/steps/EmbeddedContentSetStep" , "app/components/steps/MainDataStep" , "app/components/steps/OrganisationSetStep" , "app/components/steps/PlatformSetStep" Loading @@ -16,6 +17,7 @@ define([ ActivityType , ContactSetStep , DocumentSetStep , EmbeddedContentSetStep , ActivityMainDataStep , OrganisationSetStep , PlatformSetStep Loading Loading @@ -101,6 +103,12 @@ define([ propertyName: 'resources' }, skippable: true },{ definition: EmbeddedContentSetStep, props: { propertyName: 'embeddedContents' }, skippable: true }] }, this.editorConfig || {}]); } Loading
public/javascript/app/nls/es/translation.js +4 −0 Original line number Diff line number Diff line Loading @@ -1404,6 +1404,10 @@ define({ , "metaConfirmRecoverPasswordDescription": "Utilidad de asignación de nueva contraseña para usuarios registrados en REDMIC que lo han solicitado" , "missingEmbeddedContent": "Contenido incrustado no disponible" , "activityEmbeddedContents": "Contenidos incrustados" , "associatedEmbeddedContents": "Contenidos incrustados asociados" , "embeddedContent": "Contenido incrustado" , "embeddedContentPlaceHolder": "Contenido HTML a incrustar" // Para capas que no se pueden cambiar las keys , "descript_1": "Descripción" Loading