X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2F_show_basic_settings.html;h=54166f1277bb90ea5ead13f648c8c1474b4c4e8a;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=83b6d1ea885cc5ea1263efc6b4c1fea128a08996;hpb=2d9a0b60529098aaa1be761688718d935f355005;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec/_show_basic_settings.html b/templates/webpages/requirement_spec/_show_basic_settings.html index 83b6d1ea8..54166f127 100644 --- a/templates/webpages/requirement_spec/_show_basic_settings.html +++ b/templates/webpages/requirement_spec/_show_basic_settings.html @@ -1,4 +1,4 @@ -[%- USE HTML -%][%- USE LxERP -%] +[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]

[% IF SELF.requirement_spec.is_template %] @@ -14,13 +14,13 @@ [% HTML.escape(SELF.requirement_spec.title) %] -[%- UNLESS SELF.requirement_spec.is_template %] - [% LxERP.t8("Requirement Spec Type") %]: [% HTML.escape(SELF.requirement_spec.type.description) %] +[%- UNLESS SELF.requirement_spec.is_template %] + [% LxERP.t8("Requirement Spec Status") %]: [% HTML.escape(SELF.requirement_spec.status.description) %] @@ -36,6 +36,21 @@ [% HTML.escape(SELF.requirement_spec.hourly_rate_as_number) %] + [% cvars = SELF.requirement_spec.cvars_by_config %] + + [% FOREACH var = cvars %] + + [% HTML.escape(var.config.description) %] + + [%- IF var.config.type == 'htmlfield' -%] + [%- L.restricted_html(var.value_as_text) -%] + [%- ELSE -%] + [%- HTML.escape(var.value_as_text) -%] + [%- END -%] + + + [% END %] + [%- END %] @@ -48,33 +63,7 @@

[% LxERP.t8("This requirement spec is currently not linked to a project.") %]

[% ELSE %] - - - - - - - - - - - - - - - - - - - - - - - - - -
[% LxERP.t8("Project Number") %]:[% HTML.escape(SELF.requirement_spec.project.projectnumber) %]
[% LxERP.t8("Description") %]:[% HTML.escape(SELF.requirement_spec.project.description) %]
[% LxERP.t8("Customer") %]:[% HTML.escape(SELF.requirement_spec.project.customer.name) %]
[% LxERP.t8("Type") %]:[% HTML.escape(SELF.requirement_spec.project.project_type.description) %]
[% LxERP.t8("Status") %]:[% HTML.escape(SELF.requirement_spec.project.project_status.description) %]
- + [% INCLUDE 'requirement_spec/_project_link_details.html' requirement_spec=SELF.requirement_spec %] [% END %] [% END %]