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

15 lines
341 B
JavaScript
Raw Normal View History

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