sub requirement_spec_item_tree_node_title {
my ($self, $item) = @_;
- return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30), '<' . $item->id . '>'));
+ return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30)));
}
sub requirement_spec_item_jstree_data {
[%- USE HTML -%][%- USE L -%]<div id="[% id_prefix %]function-block-content-top-[% requirement_spec_item.id %]">
- <div class="function-block-number">[%- HTML.escape(requirement_spec_item.fb_number) -%] <[% requirement_spec_item.id %]></div>
+ <div class="function-block-number">[%- HTML.escape(requirement_spec_item.fb_number) -%]</div>
[%- L.simple_format(requirement_spec_item.description) -%]
</div>
[%- USE HTML -%][%- USE L -%][%- USE LxERP -%]
<h1>
- [%- HTML.escape(requirement_spec_item.fb_number) %]: <[% requirement_spec_item.id %]>
+ [%- HTML.escape(requirement_spec_item.fb_number) %]:
[% IF requirement_spec_item.title %]
[% HTML.escape(requirement_spec_item.title) %]
[% ELSE %]