]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4878 Remove links on issue severities, keep it on numbers
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Mon, 3 Feb 2014 10:13:39 +0000 (11:13 +0100)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Mon, 3 Feb 2014 10:13:45 +0000 (11:13 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb

index af742733ecf09e1c4572137b8bbd8674ca3dea68..32b8c2b6849ad4c03188179e2570d1283bf16368 100644 (file)
@@ -93,7 +93,7 @@
       <table class="clear width100">
         <tr>
           <td><%= image_tag 'priority/BLOCKER.png' %></td>
-          <td> &nbsp;<%= link_to message('blocker'), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'BLOCKER'}, :class => 'nolink' -%></td>
+          <td> &nbsp;<%= message('blocker') -%></td>
           <td style="padding: 0 5px;" align="right">
             <%= link_to format_measure(blocker_issues), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'BLOCKER'}, :class => 'nolink' -%>
           </td>
         </tr>
         <tr>
           <td><%= image_tag 'priority/CRITICAL.png' %></td>
-          <td> &nbsp;<%= link_to message('critical'), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'CRITICAL'}, :class => 'nolink' -%></td>
+          <td> &nbsp;<%= message('critical') -%></td>
           <td style="padding: 0 5px;" align="right">
             <%= link_to format_measure(critical_issues), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'CRITICAL'}, :class => 'nolink' -%>
           </td>
         </tr>
         <tr>
           <td><%= image_tag 'priority/MAJOR.png' %></td>
-          <td> &nbsp;<%= link_to message('major'), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'MAJOR'}, :class => 'nolink' -%></td>
+          <td> &nbsp;<%= message('major') -%></td>
           <td style="padding: 0 5px;" align="right">
             <%= link_to format_measure(major_issues), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'MAJOR'}, :class => 'nolink' -%>
           </td>
         </tr>
         <tr>
           <td><%= image_tag 'priority/MINOR.png' %></td>
-          <td> &nbsp;<%= link_to message('minor'), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'MINOR'}, :class => 'nolink' -%></td>
+          <td> &nbsp;<%= message('minor') -%></td>
           <td style="padding: 0 5px;" align="right">
             <%= link_to format_measure(minor_issues), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'MINOR'}, :class => 'nolink' -%>
           </td>
         </tr>
         <tr>
           <td><%= image_tag 'priority/INFO.png' %></td>
-          <td> &nbsp;<%= link_to message('info'), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'INFO'}, :class => 'nolink' -%></td>
+          <td> &nbsp;<%= message('info') -%></td>
           <td style="padding: 0 5px;" align="right">
             <%= link_to format_measure(info_issues), {:controller => 'drilldown', :action => 'issues', :id => @project.key, :severity => 'INFO'}, :class => 'nolink' -%>
           </td>