<!DOCTYPE html>
<html>
<!--
  data-i18n=Worklist
  data-i18n=All work caught up!
-->
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>ERP5 Page Worklist</title>
    <link rel="http://www.renderjs.org/rel/interface" href="interface_page.html">

    <!-- renderjs -->
    <script src="rsvp.js" type="text/javascript"></script>
    <script src="renderjs.js" type="text/javascript"></script>
    <script src="handlebars.js" type="text/javascript"></script>
    <script src="jiodev.js" type="text/javascript"></script>

    <!-- custom script -->
    <script src="gadget_global.js" type="text/javascript"></script>
    <script src="gadget_erp5_page_worklist.js" type="text/javascript"></script>

    <!-- XXX must set theme here! -->
    <script id="table-template" type="text/x-handlebars-template">
      {{#if document_list }}
      <ul class="document-listview">
        {{#each document_list}}
          <li class="ui-li-has-count"><a href="{{link}}">{{title}} <span class="ui-li-count">{{count}}</span></a></li>
        {{/each}}
      </ul>
      {{else}}
      <div class="worklist-empty">
        <h2>{{empty_text}}</h2>
        <img src="gadget_erp5_worklist_empty.svg?format=svg">
        </div>
      {{/if}}
    </script>

  </head>
  <body>
    <section class="document_list"></section>
  </body>
</html>