mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Trunc long protocol name on task page
This commit is contained in:
parent
db7c6435b3
commit
bc98cac9cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue