mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +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();
|
reset();
|
||||||
} else {
|
} else {
|
||||||
displayHelp();
|
displayHelp();
|
||||||
};
|
}
|
||||||
|
|
||||||
function loadConfig() {
|
function loadConfig() {
|
||||||
nconf.file({
|
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('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(' node app --upgrade');
|
||||||
winston.warn('To ignore this error (not recommended):');
|
winston.warn('To ignore this error (not recommended):');
|
||||||
winston.warn(' node app --no-check-schema')
|
winston.warn(' node app --no-check-schema');
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ define(function() {
|
|||||||
for(var key in data) {
|
for(var key in data) {
|
||||||
uniqueVisitors.find('#' + key).text(data[key]);
|
uniqueVisitors.find('#' + key).text(data[key]);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="favourites">
|
<div class="favourites">
|
||||||
|
|
||||||
<!-- IF !posts.length -->
|
<!-- 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 -->
|
<!-- ENDIF !posts.length -->
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<small>
|
<small>
|
||||||
<span class="pull-right">
|
<span class="pull-right">
|
||||||
<a href="../../topic/{posts.tid}/#{posts.pid}">posted</a>
|
<a href="../../topic/{posts.tid}/#{posts.pid}">[[global:posted]]</a>
|
||||||
in
|
[[global:in]]
|
||||||
<a href="../../category/{posts.categorySlug}">
|
<a href="../../category/{posts.categorySlug}">
|
||||||
<i class="fa {posts.categoryIcon}"></i> {posts.categoryName}
|
<i class="fa {posts.categoryIcon}"></i> {posts.categoryName}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user