template language fix

v1.18.x
Baris Soner Usakli 11 years ago
parent 81378e071b
commit 8c11299197

@ -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();
}
});

@ -45,6 +45,7 @@ define(function() {
for(var key in data) {
uniqueVisitors.find('#' + key).text(data[key]);
}
});
};

@ -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>

Loading…
Cancel
Save