mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +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:
parent
bf1f60f65f
commit
500b0c6aff
@ -361,7 +361,7 @@ module Redmine
|
||||
url = "http://" + url
|
||||
end
|
||||
end
|
||||
view.link_to value.to_s, url
|
||||
view.link_to value.to_s.truncate(40), url
|
||||
else
|
||||
value.to_s
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user