]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3755 Improve display of issues on removed component
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 4 Jun 2013 13:27:42 +0000 (15:27 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 4 Jun 2013 13:27:42 +0000 (15:27 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_show.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb

index d00d26da9b7fe4740f5081f9f7a722c9846bd1f7..e3f1199d772834c6db409d913d4921445b71f46a 100644 (file)
@@ -501,7 +501,7 @@ issue.planned_for=Planned for
 issue.manual.missing_rule=Missing rule
 issue.manual.no_rules=No rules.
 issue.reported_by=Reported by
-issue.component_deleted=Removed component
+issue.component_deleted=Removed
 
 
 #------------------------------------------------------------------------------
@@ -2220,6 +2220,16 @@ global_role.profileadmin=Quality Profile Administrators
 global_role.profileadmin.desc=Ability to perform any action on the quality profiles.
 
 
+#------------------------------------------------------------------------------
+#
+# PROJECTS ROLES
+#
+#------------------------------------------------------------------------------
+projects_role.role=Role Membership For New {0}
+projects_role.users=Users
+projects_role.groups=Groups
+
+
 #------------------------------------------------------------------------------
 #
 # ERRORS HANDLING
index a8d23fa94378357d91e7f0fa3aa56470dca92395..80481b8423d5a020df92359d8dd7b4b8d0f11269 100644 (file)
@@ -14,7 +14,7 @@
     <a href="<%= ApplicationController.root_context -%>/resource/index/<%= component.key() -%>?layout=false&tab=issues"
        onclick="window.open(this.href,'resource-<%= component.key().parameterize -%>','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= h component.longName() -%></a>
     <% else %>
-      <%= h @issue.componentKey() + '['+ message('issue.component_deleted') + ']' -%>
+      <%= h @issue.componentKey() %> [<del><%= message('issue.component_deleted') %></del>]
     <% end %>
   </span>
 </div>
index ef3850ab90eff9827cc1d328ce848888db01e7f8..e6646fe8ffbd59c36ff746ebf6b7d3270562fc41 100644 (file)
           </td>
           <td>
             <% component = @filter.issues_result.component(issue) %>
-            <%= h component.name if component -%>
+            <% if component %>
+              <%= h component.longName() -%>
+            <% else %>
+              <del><%= h  issue.componentKey() %></del>
+            <% end %>
           </td>
           <td>
             <%= h @filter.issues_result.user(issue.assignee).name if issue.assignee -%>