Loading public/javascript/app/components/Topbar.js +3 −1 Original line number Diff line number Diff line Loading @@ -39,8 +39,10 @@ define([ innerHTML: "<a href='/home' d-state-url=true title='" + this.i18n.home + "'><img class='logo' src='/resources/images/logos/redmicSimple.png'></a>" }); if (this.show.left) if (this.show.left) { this.leftNode = put(this.domNode, "div.manager"); } this.manager = new Manager({ parentChannel: this.parentChannel Loading public/javascript/app/nls/es/translation.js +2 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ define({ , "undefined": "Indefinido" , "domains": "Dominios" , "activity-fields": "Campos de acción" , "activity-fields": "Áreas de la actividad" , "organisation-types": "Tipos de organización" , "platform-types": "Tipos de plataforma" , "activity-types": "Tipos de actividad" Loading Loading @@ -279,6 +279,7 @@ define({ , "feedback": "Contacto" , "message": "Mensaje" , "createReport": "Crear report" , "errorReport": "Reporte de error" , "subject": "Asunto" , "sendFeedback": "Mensaje enviado correctamente, muchas gracias por su colaboración." Loading public/javascript/app/nls/translation.js +1 −0 Original line number Diff line number Diff line Loading @@ -280,6 +280,7 @@ define({ , "feedback": "Feedback" , "message": "Message" , "createReport": "Create informe" , "errorReport": "Error report" , "subject": "Subject" , "sendFeedback": "Message sent correctly, thank you very much for your feedback." Loading public/javascript/redmic/modules/base/Manager.js +15 −11 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ function( props: { showLabel: false, "class": "primary", label: "download", label: this.i18n.createReport, iconClass: "fa-print", action: "_downloadFile" } Loading Loading @@ -234,6 +234,7 @@ function( this.handlers.create.remove(); this.handlers.location.remove(); this.handlers.info.remove(); this._cleanManager(); this.destroyRecursive(); Loading @@ -244,10 +245,13 @@ function( for (var item in this.zones) { var zone = this.zones[item]; if (!zone.node) { if (zone.align == "left") zone.node = put(this.leftContainer, zone["class"], {}); else zone.node = put(this.rightContainer, zone["class"], {}); var node = this.rightContainer; if (zone.align == "left") { node = this.leftContainer; } zone.node = put(node, zone["class"], {}); } // Si tiene permisos de edición o no es la zona de edición if (this.perms > 0 || item !== "edit") { Loading @@ -259,13 +263,12 @@ function( btn.props.onClick = lang.hitch(this, this[btn.props.action]); btn.node = new Button(btn.props).placeAt(zone.node); btn.shared += 1; } // Hay más de un widget usando este botón else if (showBtn[key2] && (btn.node)) } else if (showBtn[key2] && (btn.node)) { // Hay más de un widget usando este botón btn.shared += 1; } } } } }, _chkChangeView: function(data, channel) { Loading Loading @@ -313,8 +316,9 @@ function( _getRootChannel: function(/*String*/ channel, /*String?*/ action) { if (action) if (action) { channel += this.channelSeparator + action; } return "app" + this.channelSeparator + channel; } Loading Loading
public/javascript/app/components/Topbar.js +3 −1 Original line number Diff line number Diff line Loading @@ -39,8 +39,10 @@ define([ innerHTML: "<a href='/home' d-state-url=true title='" + this.i18n.home + "'><img class='logo' src='/resources/images/logos/redmicSimple.png'></a>" }); if (this.show.left) if (this.show.left) { this.leftNode = put(this.domNode, "div.manager"); } this.manager = new Manager({ parentChannel: this.parentChannel Loading
public/javascript/app/nls/es/translation.js +2 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ define({ , "undefined": "Indefinido" , "domains": "Dominios" , "activity-fields": "Campos de acción" , "activity-fields": "Áreas de la actividad" , "organisation-types": "Tipos de organización" , "platform-types": "Tipos de plataforma" , "activity-types": "Tipos de actividad" Loading Loading @@ -279,6 +279,7 @@ define({ , "feedback": "Contacto" , "message": "Mensaje" , "createReport": "Crear report" , "errorReport": "Reporte de error" , "subject": "Asunto" , "sendFeedback": "Mensaje enviado correctamente, muchas gracias por su colaboración." Loading
public/javascript/app/nls/translation.js +1 −0 Original line number Diff line number Diff line Loading @@ -280,6 +280,7 @@ define({ , "feedback": "Feedback" , "message": "Message" , "createReport": "Create informe" , "errorReport": "Error report" , "subject": "Subject" , "sendFeedback": "Message sent correctly, thank you very much for your feedback." Loading
public/javascript/redmic/modules/base/Manager.js +15 −11 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ function( props: { showLabel: false, "class": "primary", label: "download", label: this.i18n.createReport, iconClass: "fa-print", action: "_downloadFile" } Loading Loading @@ -234,6 +234,7 @@ function( this.handlers.create.remove(); this.handlers.location.remove(); this.handlers.info.remove(); this._cleanManager(); this.destroyRecursive(); Loading @@ -244,10 +245,13 @@ function( for (var item in this.zones) { var zone = this.zones[item]; if (!zone.node) { if (zone.align == "left") zone.node = put(this.leftContainer, zone["class"], {}); else zone.node = put(this.rightContainer, zone["class"], {}); var node = this.rightContainer; if (zone.align == "left") { node = this.leftContainer; } zone.node = put(node, zone["class"], {}); } // Si tiene permisos de edición o no es la zona de edición if (this.perms > 0 || item !== "edit") { Loading @@ -259,13 +263,12 @@ function( btn.props.onClick = lang.hitch(this, this[btn.props.action]); btn.node = new Button(btn.props).placeAt(zone.node); btn.shared += 1; } // Hay más de un widget usando este botón else if (showBtn[key2] && (btn.node)) } else if (showBtn[key2] && (btn.node)) { // Hay más de un widget usando este botón btn.shared += 1; } } } } }, _chkChangeView: function(data, channel) { Loading Loading @@ -313,8 +316,9 @@ function( _getRootChannel: function(/*String*/ channel, /*String?*/ action) { if (action) if (action) { channel += this.channelSeparator + action; } return "app" + this.channelSeparator + channel; } Loading