Revision 6af6a67b
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Presenter/RequirementSpecItem.pm | ||
---|---|---|
12 | 12 |
sub requirement_spec_item_tree_node_title { |
13 | 13 |
my ($self, $item) = @_; |
14 | 14 |
|
15 |
return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30), '<' . $item->id . '>'));
|
|
15 |
return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30))); |
|
16 | 16 |
} |
17 | 17 |
|
18 | 18 |
sub requirement_spec_item_jstree_data { |
templates/webpages/requirement_spec_item/_function_block_content_top.html | ||
---|---|---|
1 | 1 |
[%- USE HTML -%][%- USE L -%]<div id="[% id_prefix %]function-block-content-top-[% requirement_spec_item.id %]"> |
2 |
<div class="function-block-number">[%- HTML.escape(requirement_spec_item.fb_number) -%] <[% requirement_spec_item.id %]></div>
|
|
2 |
<div class="function-block-number">[%- HTML.escape(requirement_spec_item.fb_number) -%]</div> |
|
3 | 3 |
[%- L.simple_format(requirement_spec_item.description) -%] |
4 | 4 |
</div> |
templates/webpages/requirement_spec_item/_section_header.html | ||
---|---|---|
1 | 1 |
[%- USE HTML -%][%- USE L -%][%- USE LxERP -%] |
2 | 2 |
<h1> |
3 |
[%- HTML.escape(requirement_spec_item.fb_number) %]: <[% requirement_spec_item.id %]>
|
|
3 |
[%- HTML.escape(requirement_spec_item.fb_number) %]: |
|
4 | 4 |
[% IF requirement_spec_item.title %] |
5 | 5 |
[% HTML.escape(requirement_spec_item.title) %] |
6 | 6 |
[% ELSE %] |
Auch abrufbar als: Unified diff
Debugcode entfernt