Commit 66e234e6 authored by Jérome Perrin's avatar Jérome Perrin

officejs_support_request_ui: translate "no worklist" on front page

parent 0323c70b
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<!--
data-i18n=Worklist
data-i18n=All work caught up!
-->
<head> <head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
...@@ -28,7 +24,7 @@ ...@@ -28,7 +24,7 @@
{{/each}} {{/each}}
</ul> </ul>
{{else}} {{else}}
<p>All work caught up!</p> <p data-i18n="All work caught up!">All work caught up!</p>
{{/if}} {{/if}}
</script> </script>
......
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1506514266.01</float> <float>1602167870.1</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -78,8 +78,12 @@ ...@@ -78,8 +78,12 @@
count: result_list[i][2] count: result_list[i][2]
}); });
} }
gadget.element.querySelector('.document_list').innerHTML = table_template({ return gadget.translateHtml(
table_template({
document_list: line_list document_list: line_list
})
).push(function (html) {
gadget.element.querySelector('.document_list').innerHTML = html;
}); });
}); });
}); });
......
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1506505200.17</float> <float>1602167855.22</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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