Commit c8a2413b authored by Dries's avatar Dries

- Patch #217771 by dww: prevent wrapping of dates.

parent 5511bb5f
......@@ -18,6 +18,10 @@
padding-left: .5em; /* LTR */
}
.update .version-date {
white-space: nowrap;
}
.update .info {
margin: 0;
padding: 1em 1em .25em 1em;
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment