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:
Diffstat (limited to 'plugins/CustomDimensions/angularjs/manage/edit.directive.js')
m---------plugins/CustomDimensions0
-rw-r--r--plugins/CustomDimensions/angularjs/manage/edit.directive.js30
2 files changed, 30 insertions, 0 deletions
diff --git a/plugins/CustomDimensions b/plugins/CustomDimensions
deleted file mode 160000
-Subproject 318661a2fb1ef3b3e5d6d999ae8b9628cb5a113
diff --git a/plugins/CustomDimensions/angularjs/manage/edit.directive.js b/plugins/CustomDimensions/angularjs/manage/edit.directive.js
new file mode 100644
index 0000000000..ceafc6fb75
--- /dev/null
+++ b/plugins/CustomDimensions/angularjs/manage/edit.directive.js
@@ -0,0 +1,30 @@
+/*!
+ * Matomo - free/libre analytics platform
+ *
+ * @link https://matomo.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ */
+
+/**
+ * Usage:
+ * <div piwik-custom-dimensions-edit>
+ */
+(function () {
+ angular.module('piwikApp').directive('piwikCustomDimensionsEdit', piwikCustomDimensionsEdit);
+
+ piwikCustomDimensionsEdit.$inject = ['piwik'];
+
+ function piwikCustomDimensionsEdit(piwik){
+
+ return {
+ restrict: 'A',
+ scope: {
+ dimensionId: '=',
+ dimensionScope: '=',
+ },
+ templateUrl: 'plugins/CustomDimensions/angularjs/manage/edit.directive.html?cb=' + piwik.cacheBuster,
+ controller: 'CustomDimensionsEditController',
+ controllerAs: 'editDimension'
+ };
+ }
+})(); \ No newline at end of file