<!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>
    <!-- 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_ojs_smart_assistant_worklist.js" type="text/javascript"></script>

    <!-- XXX must set theme here! -->
    <script id="table-template" type="text/x-handlebars-template">
      {{#if document_list }}
      <ul data-role="listview" data-theme="c" class="document-listview ui-listview-inset ui-corner-all">
        {{#each document_list}}
          <li class="ui-li-has-count" data-icon="false" ><a class="ui-body-inherit" href="{{link}}">{{title}} <span class="ui-li-count">{{count}}</span></a></li>
        {{/each}}
      </ul>
      {{else}}
        <p>All work caught up!</p>
      {{/if}}
    </script>

  </head>
  <body>
    <h1 data-i18n="[value]Smart Assistant WorkLists" class="ui-title ui-override-theme worklist-title">Smart Assistant WorkLists</h1>
    <section class="document_list"></section>
  </body>
</html>