aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-04-20 10:16:19 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-04-20 10:16:19 +0200
commita789df43e7384d15edb21ebfe978bbd12be63cdc (patch)
tree17f6b6cc677f1f44c7c5babac61dece867fa113f /server/sonar-web/src/main
parent54ca083b518637a1d0231693a84f294da9ea1abd (diff)
downloadsonarqube-a789df43e7384d15edb21ebfe978bbd12be63cdc.tar.gz
sonarqube-a789df43e7384d15edb21ebfe978bbd12be63cdc.zip
SONAR-5851 some fixes
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-profile-details.hbs2
-rw-r--r--server/sonar-web/src/main/js/quality-profiles/helpers.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-profile-details.hbs b/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-profile-details.hbs
index b1c487315c4..554aebc60a0 100644
--- a/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-profile-details.hbs
+++ b/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-profile-details.hbs
@@ -4,7 +4,7 @@
</header>
<p>
<a class="big" href="{{link rulesSearchUrl}}">{{formatMeasure activeRuleCount 'INT'}}</a>
- activate rules
+ {{tp 'quality_profile.x_active_rules' ''}}
</p>
{{#notEmpty rulesSeverities}}
<div class="abs-width-400 spacer-top">
diff --git a/server/sonar-web/src/main/js/quality-profiles/helpers.js b/server/sonar-web/src/main/js/quality-profiles/helpers.js
index a385e045af6..d241c123e17 100644
--- a/server/sonar-web/src/main/js/quality-profiles/helpers.js
+++ b/server/sonar-web/src/main/js/quality-profiles/helpers.js
@@ -20,8 +20,7 @@
(function () {
Handlebars.registerHelper('profileUrl', function (key) {
- //FIXME change me
- return baseUrl + '/quality_profiles/show?key=' + encodeURIComponent(key);
+ return baseUrl + '/profiles/show?key=' + encodeURIComponent(key);
});
Handlebars.registerHelper('exporterUrl', function (profile, exporterKey) {