<% current_version = project.versions.where("effective_date >= ?", Time.now).last %>
<% active = (current_version && Redmine::Activity::Fetcher.new(User.current, :project => project, :with_subprojects => true).events(Time.now - Setting.plugin_project_overview[:stale_num_days].to_i.days, Time.now).any?) %>

<% if active || @stale %>
<tr>
	<td><%= link_to project.name, project_path(project) %></td>
	<td align="center"><%= active ? "Active" : "Stale" %></td>
	<td align="center"><%= link_to_version(current_version) if current_version %></td>
	<td align="center"><%= progress_bar([current_version.closed_pourcent, current_version.completed_pourcent], :width => "100%") if current_version %></td>
	<td align="center"><%= current_version.due_date if current_version %></td>
	<% project.visible_custom_field_values.each do |custom_value| %>
		<td align="center">
	  	<% if !custom_value.value.blank? %>
	     	<%=h show_value(custom_value) %>
	  	<% end %>
		</td>
  <% end %>

</tr>
<% end %>
<% current_version = project.versions.where("effective_date >= ?", Time.now).last %>
<% active = (current_version && Redmine::Activity::Fetcher.new(User.current, :project => project, :with_subprojects => true).events(Time.now - Setting.plugin_project_overview[:stale_num_days].to_i.days, Time.now).any?) %>

<% if active || @stale %>
<tr>
	<td><%= link_to project.name, project_path(project) %></td>
	<td align="center"><%= active ? "Active" : "Stale" %></td>
	<td align="center"><%= link_to_version(current_version, :name => current_version.name) if current_version %></td>
	<td align="center"><%= progress_bar([current_version.closed_pourcent, current_version.completed_pourcent], :width => "100%") if current_version %></td>
	<td align="center"><%= current_version.due_date if current_version %></td>
	<% project.visible_custom_field_values.each do |custom_value| %>
		<td align="center">
	  	<% if !custom_value.value.blank? %>
	     	<%=h show_value(custom_value) %>
	  	<% end %>
		</td>
  <% end %>

</tr>
<% end %>
Clean up the name of the version link.
Clean up the name of the version link.
