Revision 87c61704
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE P -%] |
|
2 |
[%- DEFAULT id_prefix = 'time_and_cost_estimate_form' %] |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
[% USE HTML %] |
|
4 |
[% USE P %] |
|
5 |
[% DEFAULT id_prefix = 'time_and_cost_estimate_form' %] |
|
3 | 6 |
|
4 | 7 |
<div id="time_cost_estimate_form_container" class="edit-time-cost-estimate-context-menu"> |
5 | 8 |
[%- IF !SELF.requirement_spec.sections.size %] |
templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE P -%][%- USE L -%] |
|
2 | 1 |
<tr class="listrow"> |
3 | 2 |
[% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %] |
3 |
[% USE HTML %] |
|
4 |
[% USE LxERP %] |
|
5 |
[% USE P %] |
|
6 |
[% USE L %] |
|
4 | 7 |
|
5 | 8 |
<td style="padding-left: [%- level * 50 -%]px"> |
6 | 9 |
[%- item.fb_number _ ": " _ item.description_as_restricted_html -%] |
templates/webpages/requirement_spec/_filter.html | ||
---|---|---|
1 |
[%- USE HTML %][%- USE L %][%- USE LxERP %] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE LxERP %] |
|
2 | 4 |
|
3 | 5 |
<div class="filter_toggle"> |
4 | 6 |
<a href="#" onClick="$('.filter_toggle').toggle(); $('#filter_customer_name_substr_ilike').focus();">[% LxERP.t8("Show Filter") %]</a> |
templates/webpages/requirement_spec/_form.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%] |
|
2 | 1 |
[%- DEFAULT id_prefix = 'basic_settings_form' |
3 | 2 |
submit_as = 'post' |
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE HTML %] |
|
4 | 6 |
%] |
5 | 7 |
<form method="post" action="controller.pl" id="[% id_prefix %]"[% UNLESS submit_as == 'post' %] class="edit-basic-settings-context-menu"[% END %]> |
6 | 8 |
<h2>[% LxERP.t8("Edit general settings") %]</h2> |
templates/webpages/requirement_spec/_header.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%] |
|
2 | 1 |
<div id="requirement-spec-header"> |
3 | 2 |
<h1> |
4 | 3 |
[%- IF SELF.requirement_spec.is_template %] |
... | ... | |
10 | 9 |
[%- END %] |
11 | 10 |
</h1> |
12 | 11 |
</div> |
12 |
[% USE HTML %] |
|
13 |
[% USE LxERP %] |
templates/webpages/requirement_spec/_new_project_form.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%] |
|
2 |
[%- SET id_prefix = "project_link_form" |
|
3 |
style = "width: 300px" %] |
|
4 | 1 |
<form method="post" action="controller.pl" id="[% id_prefix %]"[% UNLESS submit_as == 'post' %] class="edit-project-link-context-menu"[% END %]> |
5 | 2 |
<h2>[% LxERP.t8("Edit project link") %]: [% LxERP.t8("Create a new project") %]</h2> |
6 | 3 |
|
7 | 4 |
[% L.hidden_tag("id", SELF.requirement_spec.id, id=id_prefix _ "_id") %] |
8 | 5 |
[% L.hidden_tag("project_link_action", "create", id=id_prefix _ "_project_link_action") %] |
6 |
[% USE LxERP %] |
|
7 |
[% USE L %] |
|
8 |
[% SET id_prefix = "project_link_form" %] |
|
9 |
[% style = "width:300px;" %] |
|
9 | 10 |
|
10 | 11 |
<table class="rs_input_field"> |
11 | 12 |
<tr> |
templates/webpages/requirement_spec/_project_link_details.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%] |
|
2 | 1 |
<table> |
3 | 2 |
<tr class="listrow"> |
4 | 3 |
<td>[% LxERP.t8("Project Number") %]:</td> |
5 | 4 |
<td>[% HTML.escape(requirement_spec.project.projectnumber) %]</td> |
6 | 5 |
</tr> |
6 |
[% USE HTML %] |
|
7 |
[% USE LxERP %] |
|
7 | 8 |
|
8 | 9 |
<tr class="listrow"> |
9 | 10 |
<td>[% LxERP.t8("Description") %]:</td> |
templates/webpages/requirement_spec/_project_link_form.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%] |
|
2 |
[%- SET id_prefix = "project_link_form" %] |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
[% SET id_prefix = "project_link_form" %] |
|
4 |
|
|
3 | 5 |
<form method="post" action="controller.pl" id="[% id_prefix %]"[% UNLESS submit_as == 'post' %] class="edit-project-link-context-menu"[% END %]> |
4 | 6 |
<h2>[% LxERP.t8("Edit project link") %]</h2> |
5 | 7 |
|
templates/webpages/requirement_spec/_show_time_and_cost_estimate.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE P -%] |
|
2 |
[%- DEFAULT id_prefix = 'time_and_cost_estimate_form' %] |
|
3 |
[%- SET total_cost = 0 %] |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
[% USE HTML %] |
|
4 |
[% USE P %] |
|
5 |
[% DEFAULT id_prefix = 'time_and_cost_estimate_form' %] |
|
6 |
[% SET total_cost = 0 %] |
|
4 | 7 |
|
5 | 8 |
<div id="time_cost_estimate"[% IF initially_hidden %] style="display: none;"[% END %]> |
6 | 9 |
[%- IF !SELF.requirement_spec.sections.size %] |
templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE P -%] |
|
2 | 1 |
<tr class="listrow"> |
3 | 2 |
<td style="padding-left: [%- level * 50 -%]px"> |
4 | 3 |
[%- item.fb_number _ ": " _ item.description_as_restricted_html -%] |
... | ... | |
14 | 13 |
<td> </td> |
15 | 14 |
<td> </td> |
16 | 15 |
[%- END -%] |
16 |
[% USE HTML %] |
|
17 |
[% USE LxERP %] |
|
18 |
[% USE P %] |
|
17 | 19 |
</tr> |
18 | 20 |
|
19 | 21 |
[%- IF item.children.size -%] |
templates/webpages/requirement_spec/_version.html | ||
---|---|---|
1 |
[%- USE L -%][%- USE LxERP -%][%- USE HTML -%] |
|
1 |
[% USE L %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE HTML %] |
|
4 |
|
|
2 | 5 |
[% L.hidden_tag('current_version_id', requirement_spec.version.id) %] |
3 | 6 |
[% LxERP.t8("Current version") %]: |
4 | 7 |
[% IF !requirement_spec.version.id %] |
templates/webpages/requirement_spec/report_top.html | ||
---|---|---|
1 |
[%- USE L %] |
|
2 | 1 |
[%- PROCESS "requirement_spec/_filter.html" filter=SELF.models.filtered.laundered %] |
3 | 2 |
<hr> |
3 |
[% USE L %] |
templates/webpages/requirement_spec/select_template_to_paste.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE HTML -%][%- USE L -%] |
|
2 | 1 |
[%- BLOCK text_blocks %] |
3 | 2 |
[%- IF blocks.size %] |
4 | 3 |
<li> |
5 | 4 |
[%- title %]: |
5 |
[% USE LxERP %] |
|
6 |
[% USE HTML %] |
|
7 |
[% USE L %] |
|
6 | 8 |
<ol> |
7 | 9 |
[%- FOREACH block = blocks %] |
8 | 10 |
<li>[%- HTML.escape(block.title) %]</li> |
templates/webpages/requirement_spec/show.html | ||
---|---|---|
1 |
[%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%][%- USE JavaScript -%] |
|
1 |
[% USE JSON %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
5 |
[% USE P %] |
|
6 |
[% USE JavaScript %] |
|
2 | 7 |
[% SET sections = SELF.requirement_spec.sections_sorted || [] %] |
3 | 8 |
|
4 | 9 |
[%- INCLUDE 'common/flash.html' %] |
Auch abrufbar als: Unified diff
USE-Einleitungen formatiert templates/webpages/requirement_spec/