X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2Fshow.html;h=c329a4e4d600dfc0c5e759ece7a824925f208466;hb=833f083eae2a4547c49f8f92a2fdca6ba4dfe5f4;hp=c41e87d84ca9895f5852cea38afb9ad5a78b1878;hpb=1ae686100b75daf4590311ba74f8884f32df562e;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec/show.html b/templates/webpages/requirement_spec/show.html index c41e87d84..c329a4e4d 100644 --- a/templates/webpages/requirement_spec/show.html +++ b/templates/webpages/requirement_spec/show.html @@ -1,4 +1,4 @@ -[%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%] +[%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%][%- USE JavaScript -%] [% SET sections = SELF.requirement_spec.sections_sorted || [] %] [%- INCLUDE 'common/flash.html' %] @@ -12,6 +12,7 @@
  • [%- LxERP.t8("Content") %]
  • [%- LxERP.t8("Basic settings") %]
  • [%- LxERP.t8("Time and cost estimate") %]
  • +
  • [%- LxERP.t8("Additional articles") %]
  • [%- UNLESS SELF.requirement_spec.is_template %]
  • [%- LxERP.t8("Versions") %]
  • [%- LxERP.t8("Quotations and orders") %]
  • @@ -94,6 +95,11 @@ $(function() { [% IF SELF.requirement_spec_item %] , initially_selected_node: '#fb-[% SELF.requirement_spec_item.id %]' [% END %] + , time_based_units: { + [% FOREACH unit = SELF.time_based_units %] + [% UNLESS loop.first %], [% END %] "[% JavaScript.escape(unit.name) %]": true + [% END %] + } }); });