summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project/_snapshot_title.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_snapshot_title.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_snapshot_title.html.erb
index cecfecef2e3..3012b22fc9a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_snapshot_title.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_snapshot_title.html.erb
@@ -2,10 +2,9 @@
<div id="snapshot_title" class="page_title">
<h4>
<%
- version_event=@snapshot.event(EventCategory::KEY_VERSION)
profile_measure=@snapshot.measure(Metric::PROFILE)
%>
-<%= link_to_favourite(@project) -%> Version <%= "#{@snapshot.version} -%> - <%= l @snapshot.created_at %>
+<%= link_to_favourite(@project) -%> Version <%= @snapshot.version -%> - <%= l @snapshot.created_at %>
<% if profile_measure %> - profile <%= link_to profile_measure.data, :controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i %><% end %>
</h4>
</div>