Commit 3a9c2189 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_officejs_afs_directory] Reactivate statistic and unsplash gadgets

parent eff300b5
......@@ -106,7 +106,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on Mon, 29 May 2017 10:00:00 GMT\n
# generated on Mon, 30 May 2017 10:00:00 GMT\n
# images/ajax-loader.gif\n
CACHE:\n
font-awesome/font-awesome-webfont.eot?v=4.6.3\n
......@@ -164,6 +164,10 @@ gadget_erp5_page_afs_success_case_list.html\n
gadget_erp5_page_afs_success_case_list.js\n
gadget_erp5_page_afs_publisher_list.html\n
gadget_erp5_page_afs_publisher_list.js\n
gadget_erp5_page_afs_publisher_statistic.html\n
gadget_erp5_page_afs_publisher_statistic.js\n
gadget_erp5_page_afs_unsplash.html\n
gadget_erp5_page_afs_unsplash.js\n
gadget_erp5_page_afs_software.html\n
gadget_erp5_page_afs_software.js\n
gadget_erp5_page_afs_directory.html\n
......@@ -316,7 +320,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>959.45264.30637.35123</string> </value>
<value> <string>959.46970.48446.4744</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -334,7 +338,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1496067282.1</float>
<float>1496169745.29</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -33,7 +33,7 @@
<div class="ui-content">
<ul data-role="listview" class="ui-listview" data-enhanced="true">
<li class="ui-first-child"><a href="{{directory_href}}" class="ui-btn ui-btn-icon-left ui-icon-table" data-i18n="Directory" accesskey="d">Directory</a></li>
<!--li><a href="{{publisher_statistic_href}}" class="ui.btn ui-btn-icon-left ui-icon-trophy" data-i18n="Statistics" accesskey="t">Statistics</a></li-->
<li><a href="{{publisher_statistic_href}}" class="ui.btn ui-btn-icon-left ui-icon-trophy" data-i18n="Statistics" accesskey="t">Statistics</a></li>
<li><a href="{{publisher_href}}" class="ui-btn ui-btn-icon-left ui-icon-university" data-i18n="Publishers" accesskey="a">Publishers</a></li>
<li><a href="{{software_href}}" class="ui-btn ui-btn-icon-left ui-icon-cube" data-i18n="Software Products" accesskey="p">Software Products</a></li>
<li class="ui-last-child"><a href="{{success_case_href}}" class="ui-btn ui-btn-icon-left ui-icon-book" data-i18n="Success Cases" accesskey="s">Success Cases</a></li>
......
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>959.44996.25797.16691</string> </value>
<value> <string>959.46970.48446.4744</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1496062977.65</float>
<float>1496169827.24</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -42,11 +42,11 @@
</head>
<body>
<!--div data-gadget-url="gadget_erp5_page_afs_unsplash.html"
<div data-gadget-url="gadget_erp5_page_afs_unsplash.html"
data-gadget-scope="unsplash"
data-gadget-sandbox="public">
</div-->
</div>
<section class="ui-responsive body ui-masonry-container"></section>
<section class="ui-responsive ui-masonry-container"></section>
</body>
</html>
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>959.44972.19198.44526</string> </value>
<value> <string>959.46970.48446.4744</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1496050195.37</float>
<float>1496169875.85</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -30,19 +30,19 @@
return new RSVP.Queue()
.push(function () {
return RSVP.all([
// gadget.getDeclaredGadget("unsplash"),
gadget.getDeclaredGadget("unsplash"),
gadget.updateHeader({
page_title: 'Free Software Publisher Directory'
})
]);
})
.push(function () {
.push(function (my_response_list) {
return RSVP.all([
gadget.jio_allDocs({
select_list: ['category_list'],
query: 'portal_type:"software"'
})
// my_response_list[0].render()
}),
my_response_list[0].render()
]);
})
.push(function (my_response_list) {
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>959.45141.39910.35703</string> </value>
<value> <string>959.46981.52420.64187</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1496067047.69</float>
<float>1496170069.03</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -96,7 +96,7 @@
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<!--tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
......@@ -150,7 +150,7 @@
<td>waitForElementPresent</td>
<td>//div[@class='custom-software-profile-image-wrapper']</td>
<td></td>
</tr-->
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
......
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