Commit f84f3a4a authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#165638 by dww: better presentation of manual check link in update module

parent af48df1c
......@@ -25,3 +25,7 @@
text-align: left;
padding-left: 1em;
}
.update .check-manually {
padding-right: 1em;
}
......@@ -96,3 +96,7 @@ table.update,
font-weight: bold;
color: #970F00;
}
.update .check-manually {
padding-left: 1em; /* LTR */
}
......@@ -25,8 +25,8 @@ function update_status() {
*/
function theme_update_report($data) {
$last = variable_get('update_last_check', 0);
$output = '<div class="checked">'. t('Last checked: ') . ($last ? format_interval(time() - $last) .' '. t('ago') : t('Never'));
$output .= ' <span class="check-manually">'. l(t('Check manually'), 'admin/logs/updates/check') .'</span>';
$output = '<div class="update checked">'. t('Last checked: ') . ($last ? format_interval(time() - $last) .' '. t('ago') : t('Never'));
$output .= ' <span class="check-manually">('. l(t('Check manually'), 'admin/logs/updates/check') .')</span>';
$output .= "</div>\n";
if (!is_array($data)) {
......
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