diff options
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb index 4a4d32ade31..df4c519d4e3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb @@ -16,16 +16,12 @@ resources.insert(0, s.project) s=s.parent end - - items_count = resources.size - items_count+=1 if @review %> <li class="first"><%= message("qualifiers.#{resources[0].qualifier}") -%></li> <% resources.each_with_index do |resource, index| - css_class=(index==items_count-1 ? 'selected' : '') %> - <li class="<%= css_class -%>"> + <li> <%= qualifier_icon(resource) -%> <%= link_to(h(resource.name), @@ -39,13 +35,13 @@ # ======== Path for review ======== if @review %> - <li class="selected"> + <li> <%= link_to message('review') + ' #' + @review.id.to_s -%> </li> <% end %> - <li class="last"> </li> + <li> </li> </ul> </div> <% end %>
\ No newline at end of file |