cartodb-4.42/lib/assets/javascripts/cartodb/common/footer_view_static.js
2024-04-06 05:25:13 +00:00

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;
}
});