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/add_new_goal.tpl')
-rw-r--r--plugins/Goals/templates/add_new_goal.tpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/Goals/templates/add_new_goal.tpl b/plugins/Goals/templates/add_new_goal.tpl
index fb41a3e1c3..5b7a916072 100644
--- a/plugins/Goals/templates/add_new_goal.tpl
+++ b/plugins/Goals/templates/add_new_goal.tpl
@@ -1,11 +1,10 @@
-
{if $userCanEditGoals}
- {include file="Goals/templates/add_edit_goal.tpl"}
+ {include file="Goals/templates/add_edit_goal.tpl"}
{else}
-<h2>{'Goals_CreateNewGOal'|translate}</h2>
-<p>
-{'Goals_NoGoalsNeedAccess'|translate}
-</p>
-<p>{'Goals_LearnMoreAboutGoalTrackingDocumentation'|translate:"<a href='?module=Proxy&action=redirect&url=http://piwik.org/docs/tracking-goals-web-analytics/' target='_blank'>":"</a>"}
-</p>
+ <h2>{'Goals_CreateNewGOal'|translate}</h2>
+ <p>
+ {'Goals_NoGoalsNeedAccess'|translate}
+ </p>
+ <p>{'Goals_LearnMoreAboutGoalTrackingDocumentation'|translate:"<a href='?module=Proxy&action=redirect&url=http://piwik.org/docs/tracking-goals-web-analytics/' target='_blank'>":"</a>"}
+ </p>
{/if}