projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GLN: neue Spalte bei customer, vendor und shipto; DB-Upgrade-Skript u. Rose
[kivitendo-erp.git]
/
templates
/
webpages
/
requirement_spec
/
show.html
diff --git
a/templates/webpages/requirement_spec/show.html
b/templates/webpages/requirement_spec/show.html
index
756fbc8
..
285dcee
100644
(file)
--- 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' %]
[% SET sections = SELF.requirement_spec.sections_sorted || [] %]
[%- INCLUDE 'common/flash.html' %]
@@
-92,9
+92,15
@@
$(function() {
initially_open: initially_open
, tree_data: tree_data
, is_template: [% SELF.requirement_spec.is_template ? 'true' : 'false' %]
initially_open: initially_open
, tree_data: tree_data
, is_template: [% SELF.requirement_spec.is_template ? 'true' : 'false' %]
+ , html_template_exists: [% SELF.html_template ? 'true' : 'false' %]
[% IF SELF.requirement_spec_item %]
, initially_selected_node: '#fb-[% SELF.requirement_spec_item.id %]'
[% END %]
[% 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 %]
+ }
});
});
});
});