From: Moritz Bunkus Date: Fri, 10 May 2013 13:00:33 +0000 (+0200) Subject: Debugcode entfernt X-Git-Tag: release-3.2.0beta~467^2~160 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6af6a67b3c7ceafc4c247340df63d46b13b12529;p=kivitendo-erp.git Debugcode entfernt --- diff --git a/SL/Presenter/RequirementSpecItem.pm b/SL/Presenter/RequirementSpecItem.pm index c9653e7ac..c62032517 100644 --- a/SL/Presenter/RequirementSpecItem.pm +++ b/SL/Presenter/RequirementSpecItem.pm @@ -12,7 +12,7 @@ use Carp; 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 { diff --git a/templates/webpages/requirement_spec_item/_function_block_content_top.html b/templates/webpages/requirement_spec_item/_function_block_content_top.html index 8c9e49805..bf3416842 100644 --- a/templates/webpages/requirement_spec_item/_function_block_content_top.html +++ b/templates/webpages/requirement_spec_item/_function_block_content_top.html @@ -1,4 +1,4 @@ [%- USE HTML -%][%- USE L -%]
-
[%- HTML.escape(requirement_spec_item.fb_number) -%] <[% requirement_spec_item.id %]>
+
[%- HTML.escape(requirement_spec_item.fb_number) -%]
[%- L.simple_format(requirement_spec_item.description) -%]
diff --git a/templates/webpages/requirement_spec_item/_section_header.html b/templates/webpages/requirement_spec_item/_section_header.html index 268f6cdad..ab70d9988 100644 --- a/templates/webpages/requirement_spec_item/_section_header.html +++ b/templates/webpages/requirement_spec_item/_section_header.html @@ -1,6 +1,6 @@ [%- USE HTML -%][%- USE L -%][%- USE LxERP -%]

- [%- 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 %]