Hi All,
Just thought I would ask/share. I rather 'crudely' added a row to the web dashboard project grid by modifying the template ProjectGrid.vm (see pic attached for result). I copied and pasted the BuildPercentage table row piece into the start of the tbody section as follows:
<tbody>
<tr>
<td colspan="10">
<table id="BuildPercentage">
<tr title="Percentage of successfull builds : $OKPercentToolTip%">
#if ($OKPercent == 50)
<td width="100%"
bgcolor="#33CC00"></td>
#else
<td width="$OKPercent%"
bgcolor="#33CC00"></td>
<td width="$NOKPercent%"
bgcolor="#FF0000"></td>
<td width="$NOKPercent%"
bgcolor="#FF0000"></td>
<td width="$OKPercent%"
bgcolor="#33CC00"></td>
#end
</tr>
</table>
</td>
</tr>
#set ($RowId = 0)
This gave me the following effect (shown in pic attached). Allowing me to see the build percentage at the top of the page so I dont have to scroll down. It has put it under to the headers, but its still pretty clear to my team what it is. It seems to be already determined by a boolean set somewhere (#if ($barAtTop), #if ($barAtBottom)), but I could not find where to set this. If anyone can suggest a better way to do this, please let me know!
Regards,
Mike