diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-06 20:01:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-06 20:01:41 +0000 |
commit | c8a2413b4ccd63d9ca4ee822c31ec3605f6286f3 (patch) | |
tree | f68911f842a91ea1d1587b4ad3932fb06ae1e5a9 /modules | |
parent | 5511bb5f7a0890c1554b10ea982f32398a8f6088 (diff) | |
download | brdo-c8a2413b4ccd63d9ca4ee822c31ec3605f6286f3.tar.gz brdo-c8a2413b4ccd63d9ca4ee822c31ec3605f6286f3.tar.bz2 |
- Patch #217771 by dww: prevent wrapping of dates.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/update/update.css | 4 | ||||
-rw-r--r-- | modules/update/update.report.inc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/update/update.css b/modules/update/update.css index a020e96ad..d6895a54a 100644 --- a/modules/update/update.css +++ b/modules/update/update.css @@ -18,6 +18,10 @@ padding-left: .5em; /* LTR */ } +.update .version-date { + white-space: nowrap; +} + .update .info { margin: 0; padding: 1em 1em .25em 1em; diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc index 9d18b5706..77e9c2c68 100644 --- a/modules/update/update.report.inc +++ b/modules/update/update.report.inc @@ -102,7 +102,7 @@ function theme_update_report($data) { } $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 @@ function theme_update_version($version, $tag, $class) { $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(); |