Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-06-14 21:31:41 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-06-14 21:31:41 +0400
commitaf67d984eea3f1beb0dcc3aa7a9fe4bf9fd31985 (patch)
treefbd3f9fc61288c491226962c6d4cf317dc0fb903 /plugins/Dashboard
parentdacce19245f89c46d15d75a481240fc10d64e6f2 (diff)
Refs #774
* Adding table by segments in the Goal Overview and in each specific Goal report. Data table is ajax loaded when the segment is clicked. In the 'Goal overview', the datatable displays all goals (this can be a lot of columns). In a specific goal tab, the datatable will only show columns for the sum of all goals and for this specific goal. * The 'Goals' datatable is now showing, for each goal: conversions, conversion rate and revenue per visit * Adding widgets for the Goals plugins: Goals overview, and one widget for each goal report
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r--plugins/Dashboard/templates/Dashboard.js4
-rw-r--r--plugins/Dashboard/templates/dashboard.css3
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Dashboard/templates/Dashboard.js b/plugins/Dashboard/templates/Dashboard.js
index ab3cf8d1f4..74d81ec3b7 100644
--- a/plugins/Dashboard/templates/Dashboard.js
+++ b/plugins/Dashboard/templates/Dashboard.js
@@ -96,6 +96,10 @@ dashboard.prototype =
$('#'+uniqueId+'>.widgetContent', self.dashboardElement).html(loadedContent);
}
widget = widgetsHelper.getWidgetObjectFromUniqueId(uniqueId);
+ if(widget == false)
+ {
+ return;
+ }
widgetParameters = widget["parameters"];
$.ajax(widgetsHelper.getLoadWidgetAjaxRequest(uniqueId, widgetParameters, onWidgetLoadedReplaceElementWithContent));
},
diff --git a/plugins/Dashboard/templates/dashboard.css b/plugins/Dashboard/templates/dashboard.css
index bc9765fc8b..2551c8cff7 100644
--- a/plugins/Dashboard/templates/dashboard.css
+++ b/plugins/Dashboard/templates/dashboard.css
@@ -26,6 +26,9 @@
border: 1px solid #CBD3E7;
}
+.widgetContent h2 {
+ font-size:1.2em;
+}
.widgetTop {
background: #F0F0FA;
-moz-border-radius:4px 4px 0 0;