diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module
index 1023c17..cc67cad 100644
--- a/core/modules/content_translation/content_translation.module
+++ b/core/modules/content_translation/content_translation.module
@@ -886,3 +886,22 @@ function content_translation_save_settings($settings) {
   \Drupal::entityManager()->clearCachedDefinitions();
   \Drupal::service('router.builder')->setRebuildNeeded();
 }
+
+/**
+ * Implements hook_theme().
+ */
+function content_translation_theme($existing, $type, $theme, $path) {
+  return array(
+    'content_translation_status' => array(
+      'variables' => array(
+        'status' => NULL,
+        'outdated' => NULL,
+      ),
+    ),
+  );
+}
+
+function theme_content_translation_status(&$vars) {
+  return '<span class="status">' . $vars['status'] . '</span>'
+  . ($vars['outdated'] ? ' <span class="marker">' . t('outdated') . '</span>' : '');
+}
diff --git a/core/modules/content_translation/content_translation.pages.inc b/core/modules/content_translation/content_translation.pages.inc
index 9898678..3d5629e 100644
--- a/core/modules/content_translation/content_translation.pages.inc
+++ b/core/modules/content_translation/content_translation.pages.inc
@@ -96,9 +96,13 @@ function content_translation_overview(EntityInterface $entity) {
         }
 
         $translation = $entity->translation[$langcode];
-        $status = !empty($translation['status']) ? t('Published') : t('Not published');
-        // @todo Add a theming function here.
-        $status = '<span class="status">' . $status . '</span>' . (!empty($translation['outdated']) ? ' <span class="marker">' . t('outdated') . '</span>' : '');
+
+        $status = array(
+          '#theme' => 'content_translation_status',
+          '#status' => !empty($translation['status']) ? t('Published') : t('Not published'),
+          '#outdated' => !empty($translation['outdated']),
+        );
+        $status = drupal_render($status);
 
         if ($is_original) {
           $language_name = t('<strong>@language_name (Original language)</strong>', array('@language_name' => $language_name));
