summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-15 14:05:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-15 14:05:29 +0000
commit5c43b4860e752965329e38a11a7e3f4b266b2d5b (patch)
tree862951a5cc6b89811e8b269de92c741e90a617cd /app/helpers
parente920e951e752f8859f5bc1028a4b338876a014f4 (diff)
downloadredmine-5c43b4860e752965329e38a11a7e3f4b266b2d5b.tar.gz
redmine-5c43b4860e752965329e38a11a7e3f4b266b2d5b.zip
Restored project name as version prefix when different (#19348).
git-svn-id: http://svn.redmine.org/redmine/trunk@14108 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index c58873c20..7fdb49c07 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -240,7 +240,7 @@ module ApplicationHelper
end
def format_version_name(version)
- if !version.shared? || version.project == @project
+ if version.project == @project
h(version)
else
h("#{version.project} - #{version}")