-[% USE HTML %][% USE T8 %]
+[% USE HTML %][% USE T8 %][%- USE LxERP -%]
[%- IF INSTANCE_CONF.get_webdav %]
<div id="ui-tabs-webdav">
<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
+[% IF WEBDAV && WEBDAV.size %]
<table>
<thead>
<tr class="listheading">
- <td>[% 'File name' | $T8 %]</td>
- <td>[% 'WebDAV link' | $T8 %]</td>
+ <th>[% 'File name' | $T8 %]</th>
+ <th>[% 'WebDAV link' | $T8 %]</th>
</tr>
</thead>
[%- END %]
</tbody>
</table>
+
+[% ELSE %]
+ <p>[% LxERP.t8("There are no documents in the WebDAV directory at the moment.") %]</p>
+[% END %]
</div>
[%- END %]