diff options
author | Go MAEDA <maeda@farend.jp> | 2022-01-18 15:03:29 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-01-18 15:03:29 +0000 |
commit | a5785c8ee69341ed99ff6c4a74dfad0e8b651857 (patch) | |
tree | d6fbe94804793a7b1b8d26f6f54445f2d7bd0aaa /app/views | |
parent | 8cc4cff362b6c5ff76c6bf18b4e6778dd08bc81f (diff) | |
download | redmine-a5785c8ee69341ed99ff6c4a74dfad0e8b651857.tar.gz redmine-a5785c8ee69341ed99ff6c4a74dfad0e8b651857.zip |
Display source project for cross-project associated revisions for issues (#5242).
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/tabs/_changesets.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/tabs/_changesets.html.erb b/app/views/issues/tabs/_changesets.html.erb index b06fd4b7e..bf00dcb7b 100644 --- a/app/views/issues/tabs/_changesets.html.erb +++ b/app/views/issues/tabs/_changesets.html.erb @@ -5,7 +5,9 @@ <%= avatar(changeset.user, :size => "24") %> <%= authoring changeset.committed_on, changeset.author, :label => :label_added_time_by %> </h4> - <p><%= link_to_revision(changeset, changeset.repository, + <p> + <%= "#{changeset.project.name} - " unless changeset.project == project %> + <%= link_to_revision(changeset, changeset.repository, :text => "#{l(:label_revision)} #{changeset.format_identifier}") %> <% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %> (<%= link_to(l(:label_diff), |