aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/common
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-04 17:53:08 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-10 17:11:54 +0200
commitcc871d7b8c4af1f66234830719d27e45d4136334 (patch)
tree4a0e191441ba2fcd706853a74d6288436640bc85 /server/sonar-web/src/main/js/components/common
parenta3df8c53bec6e8e61cac61a41c8e7489b5bfb098 (diff)
downloadsonarqube-cc871d7b8c4af1f66234830719d27e45d4136334.tar.gz
sonarqube-cc871d7b8c4af1f66234830719d27e45d4136334.zip
SONAR-6331 add project overview
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 },