mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Merge pull request #1853 from aignatov-bio/ai-sci-3581-too-long-protocol-name-in-task
Trunc long protocol name on task page [SCI-3581]
This commit is contained in:
commit
8ec6802b19
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module ProtocolStatusHelper
|
||||||
res << 'data-trigger="focus" data-placement="bottom" title="'
|
res << 'data-trigger="focus" data-placement="bottom" title="'
|
||||||
res << protocol_status_popover_title(parent) +
|
res << protocol_status_popover_title(parent) +
|
||||||
'" data-content="' + protocol_status_popover_content(parent) +
|
'" data-content="' + protocol_status_popover_content(parent) +
|
||||||
'">' + protocol_name(parent) + '</a>'
|
'">' + protocol_name(parent).truncate(Constants::NAME_TRUNCATION_LENGTH) + '</a>'
|
||||||
res.html_safe
|
res.html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue