Commit ad215831 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige más títulos y traducciones de widgets

parent 90270504
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ define([
			};
		},

		_getSpatialExtensionMapConfig: function(config) {
		_getSpatialExtensionConfig: function(config) {

			return {
				width: 3,
+6 −6
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ define([
				info: this._getInfoConfig({
					template: TemplateInfo
				}),
				spatialExtensionMap: this._getSpatialExtensionMapConfig(),
				spatialExtension: this._getSpatialExtensionConfig(),
				organisationList: this._getOrganisationsConfig(),
				platformList: this._getPlatformsConfig(),
				contactList: this._getContactsConfig(),
@@ -140,15 +140,15 @@ define([
				return;
			}

			var mapInstance = this._getWidgetInstance('spatialExtensionMap');
			var mapInstance = this._getWidgetInstance('spatialExtension');
			this._once(mapInstance.getChannel('BBOX_CHANGED'), lang.hitch(this, this._showSpatialExtension, wkt));

			this._showWidget('spatialExtensionMap');
			this._showWidget('spatialExtension');
		},

		_showSpatialExtension: function(wkt) {

			var mapInstance = this._getWidgetInstance('spatialExtensionMap');
			var mapInstance = this._getWidgetInstance('spatialExtension');

			this._once(mapInstance.getChannel('WKT_ADDED'), lang.hitch(this, function(res) {

@@ -164,14 +164,14 @@ define([
		_onActivityDetailsHidden: function() {

			if (this._lastWktLayer) {
				var mapInstance = this._getWidgetInstance('spatialExtensionMap');
				var mapInstance = this._getWidgetInstance('spatialExtension');

				this._publish(mapInstance.getChannel('REMOVE_LAYER'), {
					layer: this._lastWktLayer
				});
			}

			this._hideWidget('spatialExtensionMap');
			this._hideWidget('spatialExtension');

			this._removeCustomWidgets();
		}
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ define([
					target: this.target[0]
				}),
				projectList: this._getActivitiesOrProjectsConfig({
					title: this.i18n.projects,
					title: 'projects',
					target: this.activityTarget,
					template: TemplateProjects,
					href: redmicConfig.viewPaths.projectDetails,
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ define([
					target: this.target[0]
				}),
				activityList: this._getActivitiesOrProjectsConfig({
					title: this.i18n.activities,
					title: 'activities',
					target: this.activityTarget,
					template: TemplateActivities,
					href: redmicConfig.viewPaths.activityDetails,
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ define([
					height: 6,
					type: Geographic,
					props: {
						title: this.i18n.map,
						title: 'map',
						target: this.targetChange,
						classWindowContent: "view",
						notTextSearch: true,
Loading