From bc98cac9cc22ccb0436c77df5b476ea47e41fc05 Mon Sep 17 00:00:00 2001 From: Anton Ignatov Date: Thu, 20 Jun 2019 15:28:15 +0200 Subject: [PATCH] Trunc long protocol name on task page --- app/helpers/protocol_status_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/protocol_status_helper.rb b/app/helpers/protocol_status_helper.rb index eb074241a..71cdb8fce 100644 --- a/app/helpers/protocol_status_helper.rb +++ b/app/helpers/protocol_status_helper.rb @@ -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) + '' + '">' + protocol_name(parent).truncate(Constants::NAME_TRUNCATION_LENGTH) + '' res.html_safe end