mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
template language fix
This commit is contained in:
4
app.js
4
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();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user