Interim Reporting

' + '{{/docs}}' + '
' + '
' ), beforeRenderItems: function(tpl, data) { // var newDocs = [{docTitle:"Report"},{docTitle:"Presentation"},{docTitle:"Webcast"}]; // var newItems = [ // { // type:"First Quarter", // placeholder: true, // docs:newDocs // }, // { // type:"Second Quarter", // placeholder: true, // docs:newDocs // }, // { // type:"Third Quarter", // placeholder: true, // docs:newDocs // }, // { // type:"Fourth Quarter", // placeholder: true, // docs:newDocs // } // ]; $.each(data.items, function(idx, item){ // switch(item.shortType) { // case 'First': // newItems[0] = item; // break; // case 'Second': // newItems[1] = item; // break; // case 'Third': // newItems[2] = item; // break; // case 'Fourth': // newItems[3] = item; // break; // } $.each(item.docs, function(i, doc){ // Make sure any local links open in the same window var url = doc.docUrl.toLowerCase().split('.'); if ( url[url.length-1] != 'aspx' ) { doc.blank = true; } }); }); // data.items.length = 0; // data.items.push(newItems[0]); // data.items.push(newItems[1]); // data.items.push(newItems[2]); // data.items.push(newItems[3]); }, itemsComplete: function() { } });

Annual Reporting

'+ ''+ '
' + '{{/docs}}' + '
' + '
' ) });