Feature #5242 » adds_project_name_to_associated_revision_link.patch
| app/views/issues/_changesets.rhtml | ||
|---|---|---|
| 1 | 1 |
<% changesets.each do |changeset| %> |
| 2 | 2 |
<div class="changeset <%= cycle('odd', 'even') %>">
|
| 3 |
<p><%= link_to("#{l(:label_revision)} #{changeset.revision}",
|
|
| 3 |
<p><%= link_to("#{l(:label_revision)} #{changeset.revision}" + (changeset.project.id == project.id ? "" : " (#{changeset.project.name})"),
|
|
| 4 | 4 |
:controller => 'repositories', :action => 'revision', :id => changeset.project, :rev => changeset.revision) %><br /> |
| 5 | 5 |
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> |
| 6 | 6 |
<%= textilizable(changeset, :comments) %> |
| app/views/issues/show.rhtml | ||
|---|---|---|
| 82 | 82 |
<% if @changesets.present? %> |
| 83 | 83 |
<div id="issue-changesets"> |
| 84 | 84 |
<h3><%=l(:label_associated_revisions)%></h3> |
| 85 |
<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
|
|
| 85 |
<%= render :partial => 'changesets', :locals => { :changesets => @changesets, :project => @project } %>
|
|
| 86 | 86 |
</div> |
| 87 | 87 |
<% end %> |
| 88 | 88 | |