Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
faircoop
FairCoopTech
FairCoopSites
invoices.freedoomcop.eu
Commits
a8094257
Commit
a8094257
authored
Nov 13, 2017
by
santi
Browse files
Brand the page titles
parent
19560f87
Changes
4
Show whitespace changes
Inline
Side-by-side
web_custom/__openerp__.py
View file @
a8094257
...
...
@@ -11,6 +11,7 @@ Customization on the webs for the FreedomCoop invoices web
'website'
:
'https://freedomcoop.eu'
,
'data'
:
[
'views/templates.xml'
,
'views/qweb.xml'
,
],
'installable'
:
True
,
'auto_install'
:
False
,
...
...
web_custom/static/src/js/custom.js
0 → 100644
View file @
a8094257
openerp
.
web_custom
=
function
(
instance
)
{
instance
.
web
.
WebClient
.
include
({
init
:
function
(
parent
,
client_options
)
{
this
.
_super
(
parent
,
client_options
);
this
.
set
(
'
title_part
'
,
{
"
zopenerp
"
:
"
FreedomCoop Invoices
"
});
},
});
};
web_custom/views/qweb.xml
0 → 100644
View file @
a8094257
<openerp>
<data>
<template
id=
"assets_backend"
name=
"web_dialog_size assets"
inherit_id=
"web.assets_backend"
>
<xpath
expr=
"."
position=
"inside"
>
<!-- <link rel="stylesheet" href="/web_custom/static/src/css/custom.css"/> -->
<script
type=
"text/javascript"
src=
"/web_custom/static/src/js/custom.js"
></script>
</xpath>
</template>
</data>
</openerp>
web_custom/views/templates.xml
View file @
a8094257
...
...
@@ -16,5 +16,10 @@
</div>
</xpath>
</template>
<template
id=
"freedomcoop_title"
name=
"change title"
inherit_id=
"web.layout"
>
<xpath
expr=
"//title"
position=
"replace"
>
<title>
FreedomCoop Invoices
</title>
</xpath>
</template>
</data>
</openerp>
santi
@santi
mentioned in issue
#10 (closed)
·
Nov 13, 2017
mentioned in issue
#10 (closed)
mentioned in issue #10
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment