5 <div id="basic_settings" class="basic-settings-context-menu">
9 [% IF SELF.requirement_spec.is_template %]
10 [% LxERP.t8("Basic Settings for the Requirement Spec Template") %]
12 [% LxERP.t8("Basic Settings for the Requirement Spec") %]
16 <table class="tbl-horizontal">
19 <th>[% LxERP.t8("Title") %]:</th>
20 <td>[% HTML.escape(SELF.requirement_spec.title) %]</td>
23 <th>[% LxERP.t8("Requirement Spec Type") %]:</th>
24 <td>[% HTML.escape(SELF.requirement_spec.type.description) %]</td>
26 [% UNLESS SELF.requirement_spec.is_template %]
28 <th>[% LxERP.t8("Requirement Spec Status") %]:</th>
29 <td>[% HTML.escape(SELF.requirement_spec.status.description) %]</td>
32 <th>[% LxERP.t8("Customer") %]:</th>
33 <td>[% HTML.escape(SELF.requirement_spec.customer.name) %]</td>
36 <th>[% LxERP.t8("Hourly Rate") %]:</th>
37 <td>[% HTML.escape(SELF.requirement_spec.hourly_rate_as_number) %]</td>
39 [% cvars = SELF.requirement_spec.cvars_by_config %]
40 [% FOREACH var = cvars %]
42 <th>[% HTML.escape(var.config.description) %]</th>
44 [%- IF var.config.type == 'htmlfield' -%]
45 [%- L.restricted_html(var.value_as_text) -%]
47 [%- HTML.escape(var.value_as_text) -%]
56 [% UNLESS SELF.requirement_spec.is_template %]
57 <h2>[% LxERP.t8("Project Link") %]</h2>
59 [% IF !SELF.requirement_spec.project_id %]
60 <p>[% LxERP.t8("This requirement spec is currently not linked to a project.") %]</p>
62 [% INCLUDE 'requirement_spec/_project_link_details.html' requirement_spec=SELF.requirement_spec %]
66 </div><!-- /.wrapper -->
68 </div><!-- /#basic_settings -->