Commit 5e115436 authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[erp5_web_renderjs_ui] Unite variable naming in worklist page

Fixes failing tests because of always showing "No work to be done" in worklist (lazy bug)

Test Results 20170621-6D7F8E4B

/reviewed-on nexedi/erp5!304
parent 3b9ede46
......@@ -21,9 +21,9 @@
<!-- XXX must set theme here! -->
<script id="table-template" type="text/x-handlebars-template">
{{#if documentList }}
{{#if document_list }}
<ul data-role="listview" data-theme="c" class="document-listview ui-listview-inset ui-corner-all">
{{#each documentlist}}
{{#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>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.5779.34485.904</string> </value>
<value> <string>960.12553.18419.64989</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1497630124.81</float>
<float>1498036615.88</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -88,7 +88,7 @@
});
}
gadget.element.querySelector('.document_list').innerHTML = table_template({
documentlist: line_list
document_list: line_list
});
});
});
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.63782.5969.52053</string> </value>
<value> <string>960.5609.6230.11571</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1481795737.46</float>
<float>1498036637.82</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