Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
26552 มุมมอง

In all browser tabs there is a name ending with '- OpenErp'. How can i append something to this string?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Looking at the source code, you can find this function:

    set_title: function(title) {
            title = _.str.clean(title);
            var sep = _.isEmpty(title) ? '' : ' - ';
            document.title = title + sep + 'OpenERP';
    },

Review web/static/src/js/chrome.js

อวตาร
ละทิ้ง
ผู้เขียน

Thank you, this is what i wanted to know.

Hi Ray carnes Can you to me how to change the text that accur in the browser tab while reloading the tab

คำตอบที่ดีที่สุด

@Umashankar Subramani    you can change the text in the   file  web/views/webclient_templates.xml

<head>
                    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
                    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                    <title>Odoo</title>
                    <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
                    <link rel="stylesheet" href="/web/static/src/css/full.css" />
                    <t t-raw="head or ''"/>
                </head>

 

Change the text Odoo with your custom text.. then it will not appear further.

Hope it helps you.

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
1276
1
พ.ค. 25
791
2
พ.ค. 25
1384
1
ก.ค. 24
3018
0
ส.ค. 24
341