]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Pflichtenheft: Projektverknüpfung in Grundeinstellungen anzeigen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 20 Jan 2014 09:56:37 +0000 (10:56 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:12:27 +0000 (13:12 +0200)
locale/de/all
templates/webpages/requirement_spec/_show_basic_settings.html

index 25fa476afca259615d7693511f078fd1dc50bb9e..d066fd6a4c11306a652546d2da01c5ee9af3fe15 100755 (executable)
@@ -1802,6 +1802,7 @@ $self->{texts} = {
   'Project (description)'       => 'Projekt (Beschreibung)',
   'Project (number)'            => 'Projektnummer',
   'Project Description'         => 'Projektbeschreibung',
+  'Project Link'                => 'Projektverknüpfung',
   'Project Number'              => 'Projektnummer',
   'Project Numbers'             => 'Projektnummern',
   'Project Status'              => 'Projektstatus',
@@ -2564,6 +2565,7 @@ $self->{texts} = {
   'This option controls the method used for profit determination.' => 'Dieser Parameter legt die Berechnungsmethode für die Gewinnermittlung fest.',
   'This option controls the posting and calculation behavior for the accounting method.' => 'Dieser Parameter steuert die Buchungs- und Berechnungsmethoden für die Versteuerungsart.',
   'This partnumber is not unique. You should change it.' => 'Diese Artikelnummer ist nicht eindeutig. Bitte wählen Sie eine andere.',
+  'This requirement spec is currently not linked to a project.' => 'Dieses Pflichtenheft ist noch nicht mit einem Projekt verknüpft.',
   'This requires you to manually correct entries for which an automatic conversion failed and to check those for which it succeeded.' => 'Dies erfordert, dass Sie diejenigen Einträge manuell korrigieren, für die die automatische Umstellung fehlschlug, sowie dass Sie diejenigen überprüfen, für die die Umstellung erfolgreich war.',
   'This transaction has to be split into several transactions manually.' => 'Diese Buchung muss manuell in mehrere Buchungen aufgeteilt werden.',
   'This update will change the nature the onhand of goods is tracked.' => 'Dieses update &auml;ndert die Art und Weise wie Lagermengen gez&auml;lt werden.',
index cdd80f151d9967484bbed3524c437a4a23bf3255..83b6d1ea885cc5ea1263efc6b4c1fea128a08996 100644 (file)
@@ -1,16 +1,14 @@
 [%- USE HTML -%][%- USE LxERP -%]
 <div id="basic_settings" class="basic-settings-context-menu">
- <table>
-  <tr class="listheading">
-   <th colspan="2">
-    [% IF SELF.requirement_spec.is_template %]
-     [% LxERP.t8("Basic Settings for the Requirement Spec Template") %]
-    [% ELSE %]
-     [% LxERP.t8("Basic Settings for the Requirement Spec") %]
-    [% END %]
-   </th>
-  </tr>
+ <h2>
+  [% IF SELF.requirement_spec.is_template %]
+   [% LxERP.t8("Basic Settings for the Requirement Spec Template") %]
+  [% ELSE %]
+   [% LxERP.t8("Basic Settings for the Requirement Spec") %]
+  [% END %]
+ </h2>
 
+ <table>
   <tr class="listrow">
    <td>[% LxERP.t8("Title") %]:</td>
    <td>[% HTML.escape(SELF.requirement_spec.title) %]</td>
 [%- END %]
 
  </table>
+
+[% UNLESS SELF.requirement_spec.is_template %]
+
+ <h2>[% LxERP.t8("Project Link") %]</h2>
+
+ [% IF !SELF.requirement_spec.project_id %]
+  <p>[% LxERP.t8("This requirement spec is currently not linked to a project.") %]</p>
+
+ [% ELSE %]
+  <table>
+   <tr class="listrow">
+    <td>[% LxERP.t8("Project Number") %]:</td>
+    <td>[% HTML.escape(SELF.requirement_spec.project.projectnumber) %]</td>
+   </tr>
+
+   <tr class="listrow">
+    <td>[% LxERP.t8("Description") %]:</td>
+    <td>[% HTML.escape(SELF.requirement_spec.project.description) %]</td>
+   </tr>
+
+   <tr class="listrow">
+    <td>[% LxERP.t8("Customer") %]:</td>
+    <td>[% HTML.escape(SELF.requirement_spec.project.customer.name) %]</td>
+   </tr>
+
+   <tr class="listrow">
+    <td>[% LxERP.t8("Type") %]:</td>
+    <td>[% HTML.escape(SELF.requirement_spec.project.project_type.description) %]</td>
+   </tr>
+
+   <tr class="listrow">
+    <td>[% LxERP.t8("Status") %]:</td>
+    <td>[% HTML.escape(SELF.requirement_spec.project.project_status.description) %]</td>
+   </tr>
+  </table>
+
+ [% END %]
+[% END %]
 </div>