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/Goals/templates/_listGoalEdit.twig')
-rw-r--r--plugins/Goals/templates/_listGoalEdit.twig4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Goals/templates/_listGoalEdit.twig b/plugins/Goals/templates/_listGoalEdit.twig
index aab0b77ca0..4496f4fef6 100644
--- a/plugins/Goals/templates/_listGoalEdit.twig
+++ b/plugins/Goals/templates/_listGoalEdit.twig
@@ -28,6 +28,7 @@
<th>{{ 'General_Description'|translate }}</th>
<th>{{ 'Goals_GoalIsTriggeredWhen'|translate }}</th>
<th>{{ 'General_ColumnRevenue'|translate }}</th>
+ {{ postEvent("Template.beforeGoalListActionsHead") }}
{% if userCanEditGoals %}
<th>{{ 'General_Edit'|translate }}</th>
<th>{{ 'General_Delete'|translate }}</th>
@@ -44,7 +45,7 @@
</tr>
{% else %}
{% for goal in goals %}
- <tr>
+ <tr id="{{ goal.idgoal }}">
<td class="first">{{ goal.idgoal }}</td>
<td>{{ goal.name }}</td>
<td>{{ goal.description }}</td>
@@ -57,6 +58,7 @@
<td class="center">
{% if goal.revenue==0 %}-{% else %}{{ goal.revenue|money(idSite)|raw }}{% endif %}
</td>
+ {{ postEvent("Template.beforeGoalListActionsBody", goal) }}
{% if userCanEditGoals %}
<td style="padding-top:2px">
<button ng-click="manageGoals.editGoal({{ goal.idgoal }})" class="table-action" title="{{ 'General_Edit'|translate }}">