diff --git a/core/modules/update/templates/update-last-check.html.twig b/core/modules/update/templates/update-last-check.html.twig
new file mode 100644
index 0000000..c50e89d
--- /dev/null
+++ b/core/modules/update/templates/update-last-check.html.twig
@@ -0,0 +1,20 @@
+{#
+/**
+ * @file
+ * Default theme implementation for the last time we checked for update data.
+ *
+ * Available variables:
+ * - last: The timestamp when the site last checked for available updates.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_update_last_check()
+ *
+ * @ingroup themeable
+ */
+#}
+
+
+
+ {{ last_update_checked }}
+ ({{ check_manually }})
+
diff --git a/core/modules/update/update.module b/core/modules/update/update.module
index 6da47c0..cdbb576 100644
--- a/core/modules/update/update.module
+++ b/core/modules/update/update.module
@@ -269,6 +269,7 @@ function update_theme() {
),
'update_last_check' => array(
'variables' => array('last' => NULL),
+ 'template' => 'update-last-check',
),
'update_report' => array(
'variables' => array('data' => NULL),
@@ -634,13 +635,12 @@ function _update_project_status_sort($a, $b) {
*
* @ingroup themeable
*/
-function theme_update_last_check($variables) {
+function template_preprocess_update_last_check(&$variables) {
$last = $variables['last'];
- $output = '';
- $output .= $last ? t('Last checked: @time ago', array('@time' => format_interval(REQUEST_TIME - $last))) : t('Last checked: never');
- $output .= ' (' . l(t('Check manually'), 'admin/reports/updates/check', array('query' => drupal_get_destination())) . ')';
- $output .= "
\n";
- return $output;
+
+ $variables ['last_update_checked']=$last ? t('Last checked: @time ago', array('@time' => format_interval(REQUEST_TIME - $last))) : t('Last checked: never');
+ $variables ['check_manually']=l(t('Check manually'), 'admin/reports/updates/check', array('query' => drupal_get_destination()));
+
}
/**