summaryrefslogtreecommitdiffstats
path: root/plugins/sonar-design-plugin
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-03-27 19:13:47 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-03-27 19:13:47 +0200
commitf6983bdbac0ea0edfc3461cb569799b342124718 (patch)
treede2bbb4572cff82a8b137bf3b390dd0a4809a89e /plugins/sonar-design-plugin
parent3a4246ab08dc99138f112ebd1769ee8a7935be9a (diff)
downloadsonarqube-f6983bdbac0ea0edfc3461cb569799b342124718.tar.gz
sonarqube-f6983bdbac0ea0edfc3461cb569799b342124718.zip
SONAR-3114 Set the tab ID to its previous value ('dependencies')
Diffstat (limited to 'plugins/sonar-design-plugin')
-rw-r--r--plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java2
-rw-r--r--plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java
index ed69dd324f7..d3294622b4a 100644
--- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java
+++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java
@@ -37,7 +37,7 @@ import org.sonar.api.web.UserRole;
public class DependenciesViewer extends AbstractRubyTemplate implements RubyRailsPage {
public String getId() {
- return "dependencies_viewer";
+ return "dependencies";
}
public String getTitle() {
diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb
index 755512d6631..757302422fb 100644
--- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb
+++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb
@@ -25,7 +25,7 @@
<thead>
<tr class="coltitle">
<th class="thin"></th>
- <th><%= message('dependencies_viewer.' + metric_name) -%>: <b><%= format_measure(measure) -%></b></th>
+ <th><%= message('dependencies.' + metric_name) -%>: <b><%= format_measure(measure) -%></b></th>
</tr>
</thead>