diff options
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb | 17 |
1 files changed, 0 insertions, 17 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 6d896b6dfbb..9b1e13a610f 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 @@ -20,23 +20,6 @@ <% end %> <div class="source_tabs"> - <ul class="tablinks"> - <% first=true %> - <% if @snapshot.has_source && has_role?(:codeviewer, @snapshot) %> - <li class="<%= 'first' if first -%>"> - <a href="<%= ApplicationController.root_context -%>/api/sources?resource=<%= @resource.key -%>&format=txt"><%= message('raw') -%></a> - </li> - <% first=false - end %> - <% unless @popup_mode %> - <li class="<%= 'first' if first -%>"> - <a href="<%= url_for :controller => 'resource', :action => 'index', :id => @resource.key, :period => params[:period], :metric => params[:metric], - :rule => params[:rule] ? params[:rule] : params[:rule_sev], :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> <ul class="tabs"> <% @extensions.each do |extension| %> <li> |