Skip to content

Node.js based forum software built for the modern web

template language fix

Baris Soner Usakli8c11299197de
diff --git a/app.js b/app.js
index 877b08c79c..ec15115694 100644
--- a/app.js
+++ b/app.js
@@ -80,7 +80,7 @@ if (!nconf.get('help') && !nconf.get('setup') && !nconf.get('install') && !nconf
reset();
} else {
displayHelp();
-};
+}
function loadConfig() {
nconf.file({
@@ -153,7 +153,7 @@ function start() {
winston.warn('Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec:');
winston.warn(' node app --upgrade');
winston.warn('To ignore this error (not recommended):');
- winston.warn(' node app --no-check-schema')
+ winston.warn(' node app --no-check-schema');
process.exit();
}
});
diff --git a/public/src/forum/admin/index.js b/public/src/forum/admin/index.js
index 7c9f6db3bd..aa63a15568 100644
--- a/public/src/forum/admin/index.js
+++ b/public/src/forum/admin/index.js
@@ -45,6 +45,7 @@ define(function() {
for(var key in data) {
uniqueVisitors.find('#' + key).text(data[key]);
}
+
});
};
diff --git a/public/templates/accountposts.tpl b/public/templates/accountposts.tpl
index 19744217d1..710b693ba6 100644
--- a/public/templates/accountposts.tpl
+++ b/public/templates/accountposts.tpl
@@ -5,7 +5,7 @@
<div class="favourites">
<!-- IF !posts.length -->
- <div class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div>
+ <div class="alert alert-warning">[[user:has_no_posts]]</div>
<!-- ENDIF !posts.length -->
<div class="row">
@@ -25,8 +25,8 @@
<div>
<small>
<span class="pull-right">
- <a href="../../topic/{posts.tid}/#{posts.pid}">posted</a>
- in
+ <a href="../../topic/{posts.tid}/#{posts.pid}">[[global:posted]]</a>
+ [[global:in]]
<a href="../../category/{posts.categorySlug}">
<i class="fa {posts.categoryIcon}"></i> {posts.categoryName}
</a>