Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9fe5b41d

Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt

  • ID 9fe5b41d815d8e4843b40586a2e6b4c5bcd16fba
  • Vorgänger 1a1bdd3d
  • Nachfolger 5ab74d33

E-Mail-Dialog: Cc, Bcc standardmäßig verstecken; Dateianhang nach unten

Wichtige Felder sollen damit näher zusammenrücken, und unwichtige
Felder normalerweise gar nicht erst angezeigt werden.

Unterschiede anzeigen:

templates/webpages/common/_send_email_dialog.html
3 3
<table>
4 4
 <tbody>
5 5
  <tr>
6
   <th align="right" nowrap>[% LxERP.t8("To") %]</th>
7
   <td>[% L.input_tag("email_form.to", email_form.to, size="80") %]</td>
6
   <th align="right" nowrap>
7
    [% LxERP.t8("Recipients") %]
8
   </th>
9
   <td>
10
    [% L.input_tag("email_form.to", email_form.to, size="80") %]
11
    [% L.link("#", "[+]", onclick="\$('[data-toggle-recipients=1]').toggle()", "data-toggle-recipients"="1") %]
12
    [% L.link("#", "[-]", onclick="\$('[data-toggle-recipients=1]').toggle()", "data-toggle-recipients"="1", class="hidden") %]
13
   </td>
8 14
  </tr>
9 15

  
10
  <tr>
16
  <tr class="hidden" data-toggle-recipients="1">
11 17
   <th align="right" nowrap>[% LxERP.t8("Cc") %]</th>
12 18
   <td>[% L.input_tag("email_form.cc", email_form.cc, size="80") %]</td>
13 19
  </tr>
14 20

  
15 21
 [%- IF show_bcc %]
16
  <tr>
22
  <tr class="hidden" data-toggle-recipients="1">
17 23
   <th align="right" nowrap>[% LxERP.t8("Bcc") %]</th>
18 24
   <td>[% L.input_tag("email_form.bcc", email_form.bcc, size="80") %]</td>
19 25
  </tr>
......
24 30
   <td>[% L.input_tag("email_form.subject", email_form.subject, size="80") %]</td>
25 31
  </tr>
26 32

  
27
  <tr>
28
   <th align="right" nowrap>[% LxERP.t8("Attachment name") %]</th>
29
   <td>[% L.input_tag("email_form.attachment_filename", email_form.attachment_filename, size="80") %]</td>
30
  </tr>
31

  
32 33
  <tr valign="top">
33 34
   <th align="right" nowrap>[% LxERP.t8("Message") %]</th>
34 35
   <td>[% L.textarea_tag("email_form.message", email_form.message, rows="15" cols="80" wrap="soft") %]</td>
35 36
  </tr>
37

  
38
  <tr>
39
   <th align="right" nowrap>[% LxERP.t8("Attachment name") %]</th>
40
   <td>[% L.input_tag("email_form.attachment_filename", email_form.attachment_filename, size="80") %]</td>
41
  </tr>
36 42
 </tbody>
37 43
</table>
38 44

  

Auch abrufbar als: Unified diff