Skip to content

Commit

Permalink
- Patch #217771 by dww: prevent wrapping of dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuytaert committed Feb 6, 2008
1 parent 5511bb5 commit c8a2413
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions modules/update/update.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
padding-left: .5em; /* LTR */
}

.update .version-date {
white-space: nowrap;
}

.update .info {
margin: 0;
padding: 1em 1em .25em 1em;
Expand Down
4 changes: 2 additions & 2 deletions modules/update/update.report.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit c8a2413

Please sign in to comment.