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

Merge branch 'feature-wmsLayerRefreshInterval' into 'dev'

Muestra info en Atlas aunque no esté traducida

See merge request redmic-project/client/templates!7
parents aaaeb7e6 a60d9765
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -142,11 +142,14 @@ define([
			var content = '',
				classRow = 'paddingItemInRow';

			if (i18n[key] && value) {
			if (value !== null && value !== undefined) {

				content += '<span class="' + classRow + '"><span class="bold fontExo2">' + i18n[key] + '</span>: ';
				content += '<span class="' + classRow + '"><span class="bold fontExo2">' + (i18n[key] || key) +
					'</span>: ';

				if (!stringFormats.url(value)) {
				if (value === 0 || value === false) {
					content += breaklines(value);
				} else if (!stringFormats.url(value)) {
					content += textUrl(value, i18n.link, i18n[key]);
				} else if (!stringFormats['date-time'](value)) {
					content += dateTime(value);