diff --git a/app/views/issues/_changesets.rhtml b/app/views/issues/_changesets.rhtml index 0b1f10b..c979729 100644 --- a/app/views/issues/_changesets.rhtml +++ b/app/views/issues/_changesets.rhtml @@ -1,6 +1,6 @@ <% changesets.each do |changeset| %>
-

<%= link_to("#{l(:label_revision)} #{changeset.revision}", +

<%= link_to("#{l(:label_revision)} #{changeset.revision}" + (changeset.project.id == project.id ? "" : " (#{changeset.project.name})"), :controller => 'repositories', :action => 'revision', :id => changeset.project, :rev => changeset.revision) %>
<%= authoring(changeset.committed_on, changeset.author) %>

<%= textilizable(changeset, :comments) %> diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index b48ff2c..0e717e4 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -82,7 +82,7 @@ <% if @changesets.present? %>

<%=l(:label_associated_revisions)%>

-<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %> +<%= render :partial => 'changesets', :locals => { :changesets => @changesets, :project => @project } %>
<% end %>