Commit 6095491d authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Retoca vistas especiales y reubica elementos

Reubica utilidades CookieLoader y CheckBrowser, ya que no eran
componentes ni se usan sólo desde el componente App.

Corrige dependencias de CheckBrowser.

Controla error producido por la devolución de indefinido en App
cuando se comprueba que el navegador no está soportado. Devuelve
declare vacío en su lugar para evitarlo.

Actualiza vista de NoSupportBrowser y elimina su plantilla y
traducciones propias, simplificando su gestión.

Elimina vista de UnderConstructionView, ya que no se utiliza.
parent f906f333
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -400,7 +400,6 @@ var viewLayers = {
	, 'app/views/404': {}
	, 'app/views/ActivateAccount': {}
	, 'app/views/NoSupportBrowser': {}
	, 'app/views/UnderConstructionView': {}

	, 'app/home/views/HomeView': {}

+5 −5
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@ define([
	, 'dojo/has'
	, 'put-selector/put'
	, 'src/app/component/Analytics'
	, 'src/app/component/CheckBrowser'
	, 'src/app/component/CookieLoader'
	, 'src/app/component/Credentials'
	, 'src/app/component/ExternalConfig'
	, 'src/app/component/layout/InnerLayoutImpl'
@@ -15,12 +13,14 @@ define([
	, 'src/app/component/meta/MetaTags'
	, 'src/app/component/ModuleStore'
	, 'src/app/component/Router'
	, 'src/app/util/CheckBrowser'
	, 'src/component/notification/CommunicationCenter'
	, 'src/component/notification/Alert'
	, 'src/component/base/_Module'
	, 'src/component/base/_Store'
	, 'src/component/store/RestManagerImpl'
	, 'src/redmicConfig'
	, 'src/util/CookieLoader'
	, 'templates/LoadingCustom'
], function(
	declare
@@ -29,8 +29,6 @@ define([
	, has
	, put
	, Analytics
	, CheckBrowser
	, CookieLoader
	, Credentials
	, ExternalConfig
	, InnerLayoutImpl
@@ -39,12 +37,14 @@ define([
	, MetaTags
	, ModuleStore
	, Router
	, CheckBrowser
	, CommunicationCenter
	, Alert
	, _Module
	, _Store
	, RestManagerImpl
	, redmicConfig
	, CookieLoader
	, LoadingCustomTemplate
) {

@@ -74,7 +74,7 @@ define([
		hideNativeLoadingNode();
		getGlobalContext().location.href = '/noSupportBrowser';

		return;
		return declare(null);
	}

	return declare(_Module, {
+4 −2
Original line number Diff line number Diff line
define([
	'dojo/sniff'
	'dojo/_base/lang'
	, 'dojo/sniff'
], function(
	has
	lang
	, has
) {

	return {
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ define({
	, "closeActivityConfirmationTitle": "Confirmación de cierre de actividad"
	, "closeActivityConfirmationMessage": "¿Desea establecer como cerrada esta actividad?"
	, "viewDocument": "Ver documento"
	, "underConstruction": "En construcción"
	, "notFound": "Cero coincidencias"
	, "layers": "Capas"
	, "services": "Servicios"
@@ -24,6 +23,7 @@ define({
	, "parentalTaxon": "Taxón parental"
	, "legend": "Leyenda"
	, "noAssociatedDocuments": "Sin documentos asociados"
	, "noSupport": "Por favor, actualice su navegador a una versión más reciente"

	, "registeredTask1": "Su tarea "
	, "registeredTask2": " se ha registrado."
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ define({
		, "closeActivityConfirmationTitle": "Activity closing confirmation"
		, "closeActivityConfirmationMessage": "Do you want to set this activity as closed?"
		, "viewDocument": "View document"
		, "underConstruction": "Under construction"
		, "notFound": "No matches"
		, "layers": "Layers"
		, "services": "Services"
@@ -25,6 +24,7 @@ define({
		, "parentalTaxon": "Parental taxon"
		, "legend": "Legend"
		, "noAssociatedDocuments": "No associated documents"
		, "noSupport": "Please, update your browser to a newer version"

		, "registeredTask1": "Your task "
		, "registeredTask2": " has been recorded."
Loading