Feature #5242 » adds_project_name_to_associated_revision_link.patch
| app/views/issues/_changesets.rhtml | ||
|---|---|---|
|
<% changesets.each do |changeset| %>
|
||
|
<div class="changeset <%= cycle('odd', 'even') %>">
|
||
|
<p><%= link_to("#{l(:label_revision)} #{changeset.revision}",
|
||
|
<p><%= 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) %><br />
|
||
|
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
|
||
|
<%= textilizable(changeset, :comments) %>
|
||
| app/views/issues/show.rhtml | ||
|---|---|---|
|
<% if @changesets.present? %>
|
||
|
<div id="issue-changesets">
|
||
|
<h3><%=l(:label_associated_revisions)%></h3>
|
||
|
<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
|
||
|
<%= render :partial => 'changesets', :locals => { :changesets => @changesets, :project => @project } %>
|
||
|
</div>
|
||
|
<% end %>
|
||