1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Truncates link custom field URL for display (#21012).

git-svn-id: http://svn.redmine.org/redmine/trunk@14716 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-10-21 16:21:28 +00:00
parent bf1f60f65f
commit 500b0c6aff

View File

@ -361,7 +361,7 @@ module Redmine
url = "http://" + url url = "http://" + url
end end
end end
view.link_to value.to_s, url view.link_to value.to_s.truncate(40), url
else else
value.to_s value.to_s
end end