Commit 99387 by goba

#217771 by dww: avoid confusing wrapping of release dates in update status module (minor)

--- modules/update/update.css   2007/09/10 18:11:22     1.3
+++ modules/update/update.css   2008/02/05 09:59:21     1.3.2.1
@@ -1,4 +1,4 @@
-/* $Id: update.css,v 1.2 2007/08/07 08:39:36 goba Exp $ */
+/* $Id: update.css,v 1.3 2007/09/10 18:11:22 goba Exp $ */
 
 .update .project {
   font-weight: bold;
@@ -18,6 +18,10 @@
   padding-left: .5em; /* LTR */
 }
 
+.update .version-date {
+  white-space: nowrap;
+}
+
 .update .info {
   margin: 0;
   padding: 1em 1em .25em 1em;

--- modules/update/update.report.inc    2008/02/03 18:40:29     1.10
+++ modules/update/update.report.inc    2008/02/05 09:59:21     1.10.2.1
@@ -102,7 +102,7 @@
     }
     $row .= ' '. check_plain($project['existing_version']);
     if ($project['install_type'] == 'dev' && !empty($project['datestamp'])) {
-      $row .= ' ('. format_date($project['datestamp'], 'custom', 'Y-M-d') .') ';
+      $row .= ' <span class="version-date">('. format_date($project['datestamp'], 'custom', 'Y-M-d') .')</span>';
     }
     $row .= "</div>\n";
 
@@ -221,7 +221,7 @@
   $output .= '<td class="version-title">'. $tag ."</td>\n";
   $output .= '<td class="version-details">';
   $output .= l($version['version'], $version['release_link']);
-  $output .= ' ('. format_date($version['date'], 'custom', 'Y-M-d') .') ';
+  $output .= ' <span class="version-date">('. format_date($version['date'], 'custom', 'Y-M-d') .')</span>';
   $output .= "</td>\n";
   $output .= '<td class="version-links">';
   $links = array();
No votes yet