Slightly nicer attribute list output
authorPaul Wise <pabs@debian.org>
Thu, 6 Nov 2014 08:50:00 +0000 (16:50 +0800)
committerPaul Wise <pabs@debian.org>
Thu, 6 Nov 2014 08:50:00 +0000 (16:50 +0800)
debian/changelog
machines.cgi

index 816caf2..2f51e5c 100644 (file)
@@ -15,6 +15,7 @@ userdir-ldap-cgi (0.3.38~20130906+1+nmu1) UNRELEASED; urgency=low
   * Joey is no longer involved in the debian-admin team.
   * Fix typo in doctype
   * Switch from http to https links where possible.
+  * Slightly nicer attribute list output
 
  -- Luca Filipozzi <lfilipoz@emyr.net>  Thu, 16 Jan 2014 23:22:03 +0000
 
index 98567ec..5a8633a 100755 (executable)
@@ -205,7 +205,7 @@ if ($output{havehostdata}) {
   $hostdetails .= "<ul>\n";
   foreach $key (@attrorder) {
     if ($output{$key}) {
-      $hostdetails .= "<li><b>$attrs{$key}:</b>$output{$key}\n";
+      $hostdetails .= "<li><b>$attrs{$key}</b>: $output{$key}\n";
     }
   }
   $hostdetails .= "</ul>\n";