dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35523
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18183: GIS embed code bug fixed.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 18183 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-02-05 16:57:49 +0100
message:
GIS embed code bug fixed.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2015-01-27 12:39:32 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2015-02-05 15:57:08 +0000
@@ -8603,7 +8603,7 @@
});
window = Ext.create('Ext.window.Window', {
- title: 'Embed in web page' + '<span style="font-weight:normal"> | ' + gis.map.name + '</span>',
+ title: 'Embed in web page' + (gis.map && gis.map.name ? '<span style="font-weight:normal"> | ' + gis.map.name + '</span>' : ''),
layout: 'fit',
modal: true,
resizable: false,
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2015-01-23 16:01:30 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2015-02-05 15:57:08 +0000
@@ -368,9 +368,9 @@
}
}
else {
- html = 'No data found for<br/><br/>Indicators in group: <span style="color:#333">' + iig.name + '</span>' +
- '<br/>Data elements in group: <span style="color:#333">' + ideg.name + '</span>' +
- '<br/>Period: <span style="color:#333">' + period.name + '</span>' +
+ html = 'No data found for<br/><br/><span style="color:#333">Indicators in group: </span>' + iig.name +
+ '<br/><span style="color:#333">Data elements in group: </span>' + ideg.name +
+ '<br/><span style="color:#333">Period: </span>' + period.name +
'<br/><br/>To change groups, please go to general settings.';
}