aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/common
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/common')
-rw-r--r--server/sonar-web/src/main/js/components/common/handlebars-extensions.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/common/handlebars-extensions.js b/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
index e8e8c13f3e9..c85329a0535 100644
--- a/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
+++ b/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
@@ -32,6 +32,10 @@
return baseUrl + '/dashboard/index?id=' + encodeURIComponent(componentKey);
});
+ Handlebars.registerHelper('componentOverviewPermalink', function (componentKey) {
+ return baseUrl + '/overview/index?id=' + encodeURIComponent(componentKey);
+ });
+
Handlebars.registerHelper('componentDashboardPermalink', function (componentKey, dashboardKey) {
var params = [
{ key: 'id', value: componentKey },