27 lines
558 B
JavaScript
27 lines
558 B
JavaScript
var cdb = require('cartodb.js-v3');
|
|
|
|
/**
|
|
* Decide what support block app should show
|
|
*
|
|
*/
|
|
|
|
module.exports = cdb.core.View.extend({
|
|
className: 'CDB-Text CDB-FontSize-medium u-tSpace-xl Footer',
|
|
|
|
initialize: function () {
|
|
this.template = cdb.templates.getTemplate('common/views/footer_static');
|
|
},
|
|
|
|
render: function () {
|
|
this.$el.html(
|
|
this.template({
|
|
onpremiseVersion: cdb.config.get('onpremise_version'),
|
|
isHosted: cdb.config.get('cartodb_com_hosted'),
|
|
light: false
|
|
})
|
|
);
|
|
|
|
return this;
|
|
}
|
|
});
|