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

[erp5_web_renderjs_ui] Give priority to the link on the header's left action icon

parent bb0a0be4
...@@ -173,7 +173,6 @@ ...@@ -173,7 +173,6 @@
// acquired methods\n // acquired methods\n
//////////////////////////////////////////////\n //////////////////////////////////////////////\n
.declareAcquiredMethod("translateHtml", "translateHtml")\n .declareAcquiredMethod("translateHtml", "translateHtml")\n
.declareAcquiredMethod("whoWantToDisplayThis", "whoWantToDisplayThis")\n
.declareAcquiredMethod("triggerSubmit", "triggerSubmit")\n .declareAcquiredMethod("triggerSubmit", "triggerSubmit")\n
.declareAcquiredMethod("triggerPanel", "triggerPanel")\n .declareAcquiredMethod("triggerPanel", "triggerPanel")\n
\n \n
...@@ -313,12 +312,12 @@ ...@@ -313,12 +312,12 @@
};\n };\n
}\n }\n
}\n }\n
if (left_button !== undefined) {\n if (left_link !== undefined) {\n
promise_list.push(gadget.translateHtml(header_link_template(left_link)));\n
} else if (left_button !== undefined) {\n
promise_list.push(gadget.translateHtml(header_button_template(left_button)));\n promise_list.push(gadget.translateHtml(header_button_template(left_button)));\n
} else if (left_link === undefined) {\n
promise_list.push(gadget.translateHtml(""));\n
} else {\n } else {\n
promise_list.push(gadget.translateHtml(header_link_template(left_link)));\n promise_list.push("");\n
}\n }\n
\n \n
// Handle right link\n // Handle right link\n
...@@ -566,7 +565,7 @@ ...@@ -566,7 +565,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>romain</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -580,7 +579,7 @@ ...@@ -580,7 +579,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>941.35154.28208.61184</string> </value> <value> <string>945.51178.48166.46165</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -598,7 +597,7 @@ ...@@ -598,7 +597,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1425891407.82</float> <float>1442418437.6</float>
<string>GMT</string> <string>GMT</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