Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4085598d

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 4085598d4d3e82de1e6a7b40a72c349d6fec94d1
  • Vorgänger 2c5e599c
  • Nachfolger 7fa4e6d4

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