Revision 5d7016fd
Added by Daniel Lobato Garcia over 8 years ago
app/helpers/containers_helper.rb | ||
---|---|---|
63 | 63 |
"https://registry.hub.docker.com/u/#{image['name']}" |
64 | 64 |
end |
65 | 65 |
end |
66 |
|
|
67 |
# Compatibility fixes - to be removed once 1.7 compatibility is no longer required |
|
68 |
if SETTINGS[:version].to_s.to_f <= 1.7 |
|
69 |
def trunc_with_tooltip(text, length = 32) |
|
70 |
trunc(text, length) |
|
71 |
end |
|
72 |
end |
|
66 | 73 |
end |
Also available in: Unified diff
Fixes #9177 - 1.7 compatibility fixes