nginx-proxy-manager/frontend/js/app/ui/footer/main.js

15 lines
341 B
JavaScript
Raw Normal View History

2018-06-19 22:48:14 +00:00
const Mn = require('backbone.marionette');
const template = require('./main.ejs');
2018-07-18 04:28:41 +00:00
const Cache = require('../../cache');
2018-06-19 22:48:14 +00:00
module.exports = Mn.View.extend({
className: 'container',
template: template,
templateContext: {
getVersion: function () {
2018-07-18 04:28:41 +00:00
return Cache.version || '0.0.0';
2018-06-19 22:48:14 +00:00
}
}
});