Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 22349baa

Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt

  • ID 22349baa75dbb45b5084161e6154cc44587dd570
  • Vorgänger fc264185
  • Nachfolger e00a5ba6

Design 4.0: Auftrags-Controller: Telefonnotizen: Template kopiert

Unterschiede anzeigen:

templates/design40_webpages/order/tabs/phone_notes.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE L %]
4
[%- USE LxERP %]
5
[%- USE P %]
6

  
7
<div id="phone-notes">
8
 [% IF ( SELF.order.phone_notes && SELF.order.phone_notes.size ) %]
9
  <table>
10
    <tr>
11
      <th class="listheading">[% 'Subject' | $T8 %]</th>
12
      <th class="listheading">[% 'Created on' | $T8 %]</th>
13
      <th class="listheading">[% 'Created by' | $T8 %]</th>
14
    </tr>
15

  
16
    [%- FOREACH row = SELF.order.phone_notes %]
17
     <tr class="listrow">
18
       <td>[% P.link_tag('#', row.subject, onclick="kivi.Order.load_phone_note(" _ HTML.url(row.id) _ ", '" _ HTML.escape(row.subject) _ "', '" _ row.body _ "')") %]</td>
19
       <td>[% row.itime.to_kivitendo | html %]</td>
20
       <td>[% row.employee.safe_name | html %]</td>
21
     </tr>
22
    [% END %]
23
  </table>
24
 [% END %]
25

  
26
  <h2 id='phone_note_edit_text'>[% 'Add note' | $T8 %]</h2>
27

  
28
  [% L.hidden_tag('phone_note.id') %]
29

  
30
  <table>
31
    <tr>
32
      <td valign="right">[% 'Subject' | $T8 %]</td>
33
      <td>[% L.input_tag('phone_note.subject', '', size = 50) %]</td>
34
    </tr>
35
    <tr>
36
      <td valign="right" align="top">[% 'Body' | $T8 %]</td>
37
      <td align="top">[% L.textarea_tag('phone_note.body', '', wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]</td>
38
    </tr>
39
  </table>
40

  
41
 <p>
42
   [% P.button_tag("kivi.Order.save_phone_note()",   LxERP.t8('Save')) %]
43
   [% P.button_tag("kivi.Order.delete_phone_note()", LxERP.t8('Delete'), id = 'phone_note_delete_button', style='display:none') %]
44
   [% P.button_tag("kivi.Order.cancel_phone_note()", LxERP.t8('Cancel')) %]
45
 </p>
46

  
47
</div>

Auch abrufbar als: Unified diff