mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-01 10:21:19 +01:00
I18n support, fixed version in footer
This commit is contained in:
1 parent
c629deb56c
commit
d49c3ba3af
10 files changed
+91
-19
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
const Mn = require('backbone.marionette');
|
||||
const template = require('./main.ejs');
|
||||
const App = require('../../main');
|
||||
const Cache = require('../../cache');
|
||||
|
||||
module.exports = Mn.View.extend({
|
||||
className: 'container',
|
||||
@@ -10,7 +10,7 @@ module.exports = Mn.View.extend({
|
||||
|
||||
templateContext: {
|
||||
getVersion: function () {
|
||||
return App.version;
|
||||
return Cache.version || '0.0.0';
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user