Basic support for notes in dashboard.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 26 Nov 2012 22:21:49 +0000 (23:21 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 26 Nov 2012 22:21:49 +0000 (23:21 +0100)
dashboard.pl

index 13ca3c7..bc32cb7 100755 (executable)
@@ -328,6 +328,23 @@ if ( $colsforeach != 4 ) {
        $excls = "<td class=\"message\">$excls.</td>";
 }
 
+if ( $installs and -f 'install.html.in') {
+       print "<p>Install Notes:<br/>";
+       system 'cat install.html.in';
+}
+if ( $upgrades and -f 'minor-upgrade.html.in') {
+       print "<p>Upgrade Notes:<br/>";
+       system 'cat minor-upgrade.html.in';
+}
+if ( $distupgrades and -f 'upgrade.html.in') {
+       print "<p>Dist Upgrade Notes:<br/>";
+       system 'cat upgrade.html.in';
+}
+if ( $doubledistupgrades and -f 'upgrade-double.html.in') {
+       print "<p>Dbl. Dist Upgrade Notes:<br/>";
+       system 'cat upgrade-double.html.in';
+}
+
 print qq{              </td>
        </tr>
 </table>