cartodb-4.42/lib/assets/javascripts/cartodb/common/footer_view_static.js

27 lines
558 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
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;
}
});