' +
- 'A new version of Ghost is available! Hot damn. ' +
- '
Upgrade now ';
- }
- }
-
- return output;
- });
-};
-
// Register an async handlebars helper for a given handlebars instance
function registerAsyncHelper(hbs, name, fn) {
hbs.registerAsyncHelper(name, function (options, cb) {
@@ -750,12 +727,6 @@ function registerAdminHelper(name, fn) {
coreHelpers.adminHbs.registerHelper(name, fn);
}
-// Register an async handlebars helper for admin
-function registerAsyncAdminHelper(name, fn) {
- registerAsyncHelper(coreHelpers.adminHbs, name, fn);
-}
-
-
registerHelpers = function (adminHbs, assetHash) {
// Expose hbs instance for admin
@@ -811,10 +782,6 @@ registerHelpers = function (adminHbs, assetHash) {
registerAdminHelper('ghost_script_tags', coreHelpers.ghost_script_tags);
registerAdminHelper('asset', coreHelpers.asset);
-
- // TODO: Make sure this works #3160
- // we probably don't need this code for it, but it needs to work still
- registerAsyncAdminHelper('update_notification', coreHelpers.update_notification);
};
module.exports = coreHelpers;
diff --git a/core/server/views/default.hbs b/core/server/views/default.hbs
index ce6ff4e68b..f95388a7a5 100644
--- a/core/server/views/default.hbs
+++ b/core/server/views/default.hbs
@@ -32,7 +32,7 @@