Commit c77ad7b1 authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Cambia label para crear report

parent d3c0d213
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
@@ -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"
@@ -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."
+1 −0
Original line number Diff line number Diff line
@@ -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."
+15 −11
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ function(
								props: {
									showLabel: false,
									"class": "primary",
									label: "download",
									label: this.i18n.createReport,
									iconClass: "fa-print",
									action: "_downloadFile"
								}
@@ -234,6 +234,7 @@ function(
			this.handlers.create.remove();
			this.handlers.location.remove();
			this.handlers.info.remove();

			this._cleanManager();

			this.destroyRecursive();
@@ -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") {
@@ -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) {
@@ -313,8 +316,9 @@ function(

		_getRootChannel: function(/*String*/ channel, /*String?*/ action) {

			if (action)
			if (action) {
				channel += this.channelSeparator + action;
			}

			return "app" + this.channelSeparator + channel;
		}