</td>
</tr>
+[%- IF show_weight %]
+ <tr>
+ <td>
+ <table width="100%">
+ <tr valign="bottom">
+ <td align="right">
+ <table>
+ <tr>
+ <th align="left">[% 'Total weight' | $T8 %]</th>
+ <td align="right">
+ [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+[%- END %]
</table>
</p>
- <hr size="3" noshade>
-
- [%- IF conf_webdav %]
- <div class="listtop" align="left">[% 'Documents in the WebDAV repository' | $T8 %]</div>
+ </div>
+[% PROCESS 'webdav/_list.html' %]
+ <div id="ui-tabs-1">
+ [%- LxERP.t8("Loading...") %]
+ </div>
+</div>
- <p>
- <table width="100%">
- <tr>
- <td align="left" width="30%"><b>[% 'File name' | $T8 %]</b></td>
- <td align="left" width="70%"><b>[% 'WebDAV link' | $T8 %]</b></td>
- </tr>
-
- [%- FOREACH file = WEBDAV %]
- <tr>
- <td align="left">[% HTML.escape(file.name) %]</td>
- <td align="left"><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
- </tr>
- [%- END %]
-
- </table>
- </p>
-
- <hr size="3" noshade>
- [%- END %]
+<hr size="3" noshade>
<p>[% PRINT_OPTIONS %]</p>