]> git.etc.gen.nz Git - spong.git/commitdiff
Added status summary field to status icon image alt field.
authorStephen L Johnson <sjohnson@monsters.org>
Tue, 28 Dec 1999 20:36:09 +0000 (20:36 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Tue, 28 Dec 1999 20:36:09 +0000 (20:36 +0000)
src/lib/Spong/HostList.pm

index 110afe9e293e72bd1c93e8bf71ee98410d0fac85..2b683ce39972f56c527a878adfc08a6b36db0da4 100755 (executable)
@@ -234,7 +234,8 @@ sub display_html {
               if( $main::WWW_USE_IMAGES == 1 ) {
                  print "<td align=center><a href=\"!!WWWSPONG!!/service/";
                  print "$hostname/$service\">";
-                 print "<img src=\"!!WWWGIFS!!/$col.gif\" alt=$col border=0>";
+                  my $alt = $servobj->summary();
+                 print "<img src=\"!!WWWGIFS!!/$col.gif\" alt=\"$alt\" border=0>";
                  print "</a>";
               } else {
                  print "<td align=center bgcolor=\"";