aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-02-20 09:35:20 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-02-20 09:35:20 +0100
commitbc6a949c44a6f483c4db1213538ad45553fb8e6c (patch)
treeb9c775e5fa7c37a3b17d58313974e64a50aba98f /sonar-server
parentf9e2e4e36327eaa961af201cf29c4e91149c5c3c (diff)
downloadsonarqube-bc6a949c44a6f483c4db1213538ad45553fb8e6c.tar.gz
sonarqube-bc6a949c44a6f483c4db1213538ad45553fb8e6c.zip
Add HTML id for integration tests
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
index 74b2619dfb7..6bc708cf45b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
@@ -32,7 +32,9 @@
end %>
<% unless @popup_mode %>
<li class="<%= 'first' if first -%>">
- <a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>?display_title=true" onclick="window.open(this.href,'resource','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= image_tag 'new-window-16.gif', :alt => message('new_window') -%></a>
+ <a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>?display_title=true" onclick="window.open(this.href,'resource','height=800,width=900,scrollbars=1,resizable=1');return false;" id="new-window-<%= @resource.key.parameterize -%>">
+ <%= image_tag 'new-window-16.gif', :alt => message('new_window') -%>
+ </a>
</li>
<% end %>
</ul>