=== modified file 'dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js' --- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-06-28 10:42:07 +0000 +++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-06-28 12:06:57 +0000 @@ -2012,8 +2012,16 @@ }); linkPanel = Ext.create('Ext.panel.Panel', { - html: 'Link: ' + pt.baseUrl + '/dhis-web-pivot/app/index.html?id=' + pt.favorite.id + '', - style: 'padding-top: 9px; padding-bottom: 6px', + html: function() { + var reportTableUrl = pt.baseUrl + '/dhis-web-pivot/app/index.html?id=' + pt.favorite.id, + apiUrl = pt.baseUrl + '/api/reportTables/' + pt.favorite.id + '/data.html', + html = ''; + + html += '
Chart link: ' + reportTableUrl + '
'; + html += '
API link: ' + apiUrl + '
'; + return html; + }(), + style: 'padding-top: 8px; padding-bottom: 5px', bodyStyle: 'border: 0 none' });