Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 00edda30

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

  • ID 00edda3058408d517bccf0ce1abc44211e23b221
  • Vorgänger cd675c9c
  • Nachfolger a497fc0f

Neues Design 2019 Standard-Code templates/webpages/webdav/_list.html

Unterschiede anzeigen:

templates/webpages/webdav/_list.html
2 2
[% USE T8 %]
3 3
[% USE LxERP %]
4 4

  
5
[%- IF INSTANCE_CONF.get_webdav %]
6
<div id="ui-tabs-webdav">
7
<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
5
[% IF INSTANCE_CONF.get_webdav %]
6
<div id="ui-tabs-webdav" class="ui-tabs-panel" style="display:none;">
8 7

  
9
[% IF WEBDAV && WEBDAV.size %]
10
 <table>
11
  <thead>
12
   <tr class="listheading">
13
    <th>[% 'File name' | $T8 %]</th>
14
    <th>[% 'WebDAV link' | $T8 %]</th>
15
   </tr>
16
  </thead>
8
<div class="wrapper">
17 9

  
18
  <tbody>
19
[%- FOREACH file = WEBDAV %]
20
   <tr class="listrow">
21
    <td>[% HTML.escape(file.name) %]</td>
22
    <td><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
23
   </tr>
24
[%- END %]
25
  </tbody>
26
 </table>
10
  <h3>[% 'Documents in the WebDAV repository' | $T8 %]</h3>
27 11

  
28
[% ELSE %]
29
 <p>[% LxERP.t8("There are no documents in the WebDAV directory at the moment.") %]</p>
30
[% END %]
31
</div>
12
  [% IF WEBDAV && WEBDAV.size %]
13
  <table class="tbl-list wi-moderate">
14
    <thead>
15
     <tr>
16
      <th>[% 'File name' | $T8 %]</th>
17
      <th>[% 'WebDAV link' | $T8 %]</th>
18
     </tr>
19
    </thead>
20
    <tbody>
21
      [% FOREACH file = WEBDAV %]
22
        <tr>
23
          <td>[% HTML.escape(file.name) %]</td>
24
          <td><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
25
        </tr>
26
      [% END %]
27
    </tbody>
28
  </table>
29

  
30
  [% ELSE %]
31
   <p>[% LxERP.t8("There are no documents in the WebDAV directory at the moment.") %]</p>
32
  [% END %]
32 33

  
33
[%- END %]
34
</div><!-- /.wrapper -->
35

  
36
</div><!-- /#ui-tabs-webdav -->
37
[% END %]

Auch abrufbar als: Unified diff