Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5be352a3

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID 5be352a31ac67f76684adae7fb5d12e28c9980d0
  • Vorgänger 201b68c7
  • Nachfolger 7198c3d4

Neues Design 2019 Standard-Code templates/webpages/cti/list_internal_extensions.html

Unterschiede anzeigen:

templates/webpages/cti/list_internal_extensions.html
4 4

  
5 5
<h1>[% HTML.escape(title) %]</h1>
6 6

  
7
[% IF !SELF.internal_extensions.size %]
8
 <p>[% LxERP.t8("No internal phone extensions have been configured yet.") %]</p>
7
<div class="wrapper">
8
  [% IF !SELF.internal_extensions.size %]
9
   <p>[% LxERP.t8("No internal phone extensions have been configured yet.") %]</p>
9 10

  
10
[% ELSE %]
11
 <table>
12
  <tr class="listheading">
13
   <th>[% LxERP.t8("Name") %]</th>
14
   <th>[% LxERP.t8("Phone extension") %]</th>
15
  </tr>
11
  [% ELSE %]
12
   <table class="tbl-plain wi-moderate">
13
    <thead>
14
      <tr>
15
       <th>[% LxERP.t8("Name") %]</th>
16
       <th>[% LxERP.t8("Phone extension") %]</th>
17
      </tr>
18
    </thead>
19
    <tbody>
20
      [% FOREACH extension = SELF.internal_extensions %]
21
       <tr class="listrow">
22
        <td>[% HTML.escape(extension.name) %]</td>
23
        <td><a href="[% HTML.escape(extension.call_link) %]" class="cti_call_action">[% HTML.escape(extension.phone_extension) %]</a></td>
24
       </tr>
25
      [% END %]
26
    </tbody>
27
   </table>
28
  [% END %]
29
</div>
16 30

  
17
  [%- FOREACH extension = SELF.internal_extensions %]
18
   <tr class="listrow">
19
    <td>[% HTML.escape(extension.name) %]</td>
20
    <td><a href="[% HTML.escape(extension.call_link) %]" class="cti_call_action">[% HTML.escape(extension.phone_extension) %]</a></td>
21
   </tr>
22
  [%- END %]
23
 </table>
24
[% END %]
25 31
</body>
26 32
</html>

Auch abrufbar als: Unified diff