Trunc long protocol name on task page

This commit is contained in:
Anton Ignatov 2019-06-20 15:28:15 +02:00
parent db7c6435b3
commit bc98cac9cc

View file

@ -7,7 +7,7 @@ module ProtocolStatusHelper
res << 'data-trigger="focus" data-placement="bottom" title="'
res << protocol_status_popover_title(parent) +
'" data-content="' + protocol_status_popover_content(parent) +
'">' + protocol_name(parent) + '</a>'
'">' + protocol_name(parent).truncate(Constants::NAME_TRUNCATION_LENGTH) + '</a>'
res.html_safe
end