Commit 632b9c14 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: only display tool's title

parent de73d257
......@@ -11,7 +11,7 @@
function calculateSynchronousPageTitle(gadget, erp5_document) {
var title = erp5_document.title,
portal_type = erp5_document._links.type.name,
is_module = / Module$/.test(erp5_document._links.type.href),
is_module = / (Module|Tool)$/.test(erp5_document._links.type.href),
traversed_document_jio_key;
if (erp5_document._links.hasOwnProperty('traversed_document')) {
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.50941.53340.16930</string> </value>
<value> <string>986.51245.10858.8089</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1600761755.69</float>
<float>1602058138.58</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