diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-09-02 17:20:01 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-09-02 17:27:30 +0200 |
commit | 5e26d0b56bb5323b8a816b402b2317646d0a9fe9 (patch) | |
tree | b56d7056537a8701cef7ae4eacb1b6af192c455d /server | |
parent | feb61fd1746daa0fdf661875a96fccc9e3967350 (diff) | |
download | sonarqube-5e26d0b56bb5323b8a816b402b2317646d0a9fe9.tar.gz sonarqube-5e26d0b56bb5323b8a816b402b2317646d0a9fe9.zip |
fix broken View page because of missing Squale metric
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb index a95cbea8ce5..c811c602121 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb @@ -123,7 +123,11 @@ <% if @snapshot %> // issues + <% if @snapshot.measure('sqale_rating') %> sqaleRating: '<%= @snapshot.measure('sqale_rating').value -%>', + <% else %> + sqaleRating: 'A', + <% end %> // coverage <% if @snapshot.measure('overall_coverage') %> |