mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-11 22:36: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 << '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…
Add table
Reference in a new issue