"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "frontend/express/public/javascripts/countly/countly.views.js" between
countly-server-20.04.1.4.tar.gz and countly-server-20.04.1.5.tar.gz

About: countly-server is a mobile & web analytics, push notifications and crash reporting platform. This is the server part that collects and analyzes data while individual client SDKs (mobile, web or desktop) send the data. Community Edition (commercial Enterprise Edition also available).

countly.views.js  (countly-server-20.04.1.4):countly.views.js  (countly-server-20.04.1.5)
skipping to change at line 5816 skipping to change at line 5816
}); });
window.LongTaskView = countlyView.extend({ window.LongTaskView = countlyView.extend({
initialize: function() { initialize: function() {
this.template = Handlebars.compile($("#report-manager-template").html()) ; this.template = Handlebars.compile($("#report-manager-template").html()) ;
this.taskCreatedBy = 'manually'; this.taskCreatedBy = 'manually';
this.types = { this.types = {
"all": jQuery.i18n.map["common.all"], "all": jQuery.i18n.map["common.all"],
"funnels": jQuery.i18n.map["sidebar.funnels"] || "Funnels", "funnels": jQuery.i18n.map["sidebar.funnels"] || "Funnels",
"drill": jQuery.i18n.map["drill.drill"] || "Drill", "drill": jQuery.i18n.map["drill.drill"] || "Drill",
"flows": jQuery.i18n.map["flows.flows"] || "Flows",
"retention": jQuery.i18n.map["retention.retention"] || "Retention", "retention": jQuery.i18n.map["retention.retention"] || "Retention",
"formulas": jQuery.i18n.map["calculated-metrics.formulas"] || "Formu las", "formulas": jQuery.i18n.map["calculated-metrics.formulas"] || "Formu las",
"dbviewer": jQuery.i18n.map["dbviewer.title"] || "DBViewer" "dbviewer": jQuery.i18n.map["dbviewer.title"] || "DBViewer"
}; };
this.runTimeTypes = { this.runTimeTypes = {
"all": jQuery.i18n.map["common.all"], "all": jQuery.i18n.map["common.all"],
"auto-refresh": jQuery.i18n.map["taskmanager.auto"], "auto-refresh": jQuery.i18n.map["taskmanager.auto"],
"none-auto-refresh": jQuery.i18n.map["taskmanager.manual"] "none-auto-refresh": jQuery.i18n.map["taskmanager.manual"]
}; };
skipping to change at line 6033 skipping to change at line 6034
$("#report-manager-graph-description").text(jQuery.i18n.map['taskman ager.manually-table-remind']); $("#report-manager-graph-description").text(jQuery.i18n.map['taskman ager.manually-table-remind']);
$(".report-manager-data-col").removeClass("report-manager-automatica lly-created"); $(".report-manager-data-col").removeClass("report-manager-automatica lly-created");
} }
else { else {
$("#report-manager-graph-description").text(jQuery.i18n.map['taskman ager.automatically-table-remind']); $("#report-manager-graph-description").text(jQuery.i18n.map['taskman ager.automatically-table-remind']);
$(".report-manager-data-col").addClass("report-manager-automatically -created"); $(".report-manager-data-col").addClass("report-manager-automatically -created");
} }
this.showTableColumns(self); this.showTableColumns(self);
}, },
showTableColumns: function(self) { showTableColumns: function(self) {
var manuallyColumns = [true, true, false, true, true, true, true, true, var manuallyColumns = [true, true, false, true, true, true, true, true,
false, false]; false, false, true, true];
var automaticallyColumns = [false, true, true, true, false, false, false var automaticallyColumns = [false, true, true, true, false, false, false
, false, true, true]; , false, false, true, false, true];
// [NAME, DATA, STAT(R),ORIGIN, TYPE,PERIOD,VISI
B,LASTUp,Started,duration,status(SUB),but]
if (self.taskCreatedBy === 'manually') { if (self.taskCreatedBy === 'manually') {
manuallyColumns.forEach(function(vis, index) { manuallyColumns.forEach(function(vis, index) {
self.dtable.fnSetColumnVis(index, vis); self.dtable.fnSetColumnVis(index, vis);
}); });
$(".report-manager-idget-header .filter2-segmentation").show(); $(".report-manager-idget-header .filter2-segmentation").show();
$(".report-manager-idget-header .filter3-segmentation").hide(); $(".report-manager-idget-header .filter3-segmentation").hide();
} }
else { else {
automaticallyColumns.forEach(function(vis, index) { automaticallyColumns.forEach(function(vis, index) {
self.dtable.fnSetColumnVis(index, vis); self.dtable.fnSetColumnVis(index, vis);
 End of changes. 2 change blocks. 
4 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)