콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
26652 화면

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.

 

아바타
취소
관련 게시물 답글 화면 활동
2
7월 25
1429
1
5월 25
888
2
5월 25
1535
1
7월 24
3198
0
8월 24
341