Commit e2166965 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Add a worklist page

Each worklist links to the module view of the first matching portal_type.
A search query is provided to filter the documents matching the worklist.
parent 0f562b3e
......@@ -102,7 +102,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on Fri, 13 Nov 2015 11:50:00 +0000\n
# generated on Fri, 24 Nov 2015 15:30:00 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
......@@ -175,6 +175,8 @@ gadget_erp5_page_logout.html\n
gadget_erp5_page_logout.js\n
gadget_erp5_page_tab.html\n
gadget_erp5_page_tab.js\n
gadget_erp5_page_worklist.html\n
gadget_erp5_page_worklist.js\n
gadget_erp5_panel.html\n
gadget_erp5_panel.js\n
gadget_erp5_panel_configuration.html\n
......@@ -338,7 +340,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.5083.16356.43929</string> </value>
<value> <string>947.21012.61053.6656</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -356,7 +358,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1447420626.52</float>
<float>1448376312.77</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -142,7 +142,7 @@
<div class="ui-content">\n
<ul data-role="listview" class="ui-listview" data-enhanced="true">\n
<li class="ui-first-child"><a href="{{module_href}}" class="ui-btn ui-btn-icon-left ui-icon-puzzle-piece" data-i18n="Modules">Modules</a></li>\n
<li><a class="ui-btn ui-btn-icon-left ui-icon-clipboard" data-i18n="Worklists">Worklists</a></li>\n
<li><a href="{{worklist_href}}" class="ui-btn ui-btn-icon-left ui-icon-clipboard" data-i18n="Worklists">Worklists</a></li>\n
<li><a href="{{history_href}}" class="ui-btn ui-btn-icon-left ui-icon-history" data-i18n="History">History</a></li>\n
<li><a href="{{preference_href}}" class="ui-btn ui-btn-icon-left ui-icon-gear" data-i18n="Preference">Preferences</a></li>\n
<!--div>\n
......@@ -307,7 +307,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>romain</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -321,7 +321,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>945.53847.62160.33314</string> </value>
<value> <string>947.4845.57727.51251</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -339,8 +339,8 @@
</tuple>
<state>
<tuple>
<float>1442568863.26</float>
<string>GMT</string>
<float>1447406639.02</float>
<string>UTC</string>
</tuple>
</state>
</object>
......
......@@ -170,7 +170,8 @@
g.getUrlFor({command: \'display\', options: {page: "front"}}),\n
g.getUrlFor({command: \'display\', options: {page: "history"}}),\n
g.getUrlFor({command: \'display\', options: {page: "preference"}}),\n
g.getUrlFor({command: \'display\', options: {page: "logout"}})\n
g.getUrlFor({command: \'display\', options: {page: "logout"}}),\n
g.getUrlFor({command: \'display\', options: {page: "worklist"}})\n
]);\n
})\n
.push(function (all_result) {\n
......@@ -181,7 +182,8 @@
"history_href": all_result[1],\n
"preference_href": all_result[2],\n
// "language_list": language_list,\n
"logout_href": all_result[3]\n
"logout_href": all_result[3],\n
"worklist_href": all_result[4]\n
});\n
return tmp;\n
})\n
......@@ -369,7 +371,7 @@
</tuple>
<state>
<tuple>
<float>1447320446.53</float>
<float>1447406686.19</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment