Fix associated revisions label on issue page.

r4613 shows git long hash value.

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4652 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Toshi MARUYAMA 14 years ago
parent e7a9c386ef
commit 3ad213c29a
  1. 2
      app/controllers/issues_controller.rb
  2. 4
      app/views/issues/_changesets.rhtml

@ -44,6 +44,8 @@ class IssuesController < ApplicationController
include AttachmentsHelper include AttachmentsHelper
helper :queries helper :queries
include QueriesHelper include QueriesHelper
helper :repositories
include RepositoriesHelper
helper :sort helper :sort
include SortHelper include SortHelper
include IssuesHelper include IssuesHelper

@ -1,7 +1,7 @@
<% changesets.each do |changeset| %> <% changesets.each do |changeset| %>
<div class="changeset <%= cycle('odd', 'even') %>"> <div class="changeset <%= cycle('odd', 'even') %>">
<p><%= link_to("#{l(:label_revision)} #{changeset.revision}", <p><%= link_to_revision(changeset, changeset.project,
:controller => 'repositories', :action => 'revision', :id => changeset.project, :rev => changeset.revision) %><br /> :text => "#{l(:label_revision)} #{changeset.format_identifier}") %><br />
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
<div class="changeset-changes"> <div class="changeset-changes">
<%= textilizable(changeset, :comments) %> <%= textilizable(changeset, :comments) %>

Loading…
Cancel
Save