aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-09-30 18:14:24 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-09-30 18:14:24 +0200
commit3556204753a304596f98b345cf3482574a10fe7f (patch)
tree45e610e76b8df42aa1ea0659daf8405174df5e39 /sonar-server/src/main/webapp/WEB-INF
parent8a4202ca07b467cf99aa0065308aa98a898021f4 (diff)
downloadsonarqube-3556204753a304596f98b345cf3482574a10fe7f.tar.gz
sonarqube-3556204753a304596f98b345cf3482574a10fe7f.zip
SONAR-3802 do not highlight the last breadcrumb item
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.erb10
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) -%>
&nbsp;
<%= 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">&nbsp;</li>
+ <li>&nbsp;</li>
</ul>
</div>
<% end %> \ No newline at end of file