Skip to content

Commit 389f398

Browse files
committed
more cleaning
1 parent 1157bdc commit 389f398

File tree

9 files changed

+11
-22
lines changed

9 files changed

+11
-22
lines changed

Makefile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,3 @@ fast: html
7171
static: extensions/odoo_theme/static/style.css
7272
cp -r extensions/odoo_theme/static/* _build/html/_static/
7373
cp -r static/* _build/html/_static/
74-
75-
lang:
76-
make fast LANGUAGES=en,fr CURRENT_LANG=en
77-
make fast LANGUAGES=en,fr CURRENT_LANG=fr
78-
79-
version:
80-
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master
81-
82-
both:
83-
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master LANGUAGES=en,fr CURRENT_LANG=en
84-
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master LANGUAGES=en,fr CURRENT_LANG=fr

extensions/odoo_theme/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<div id="wrap">
7777
{%- set main_classes = [] %}
7878
{%- if pagename == master_doc %} {# The current page is the homepage #}
79-
{%- set main_classes = main_classes + ['index'] %} {# TODO EDI should be 'o_index' #}
79+
{%- set main_classes = main_classes + ['o_index'] %}
8080
{%- endif %}
8181

8282
{%- if 'code-column' in meta %} {# The page contains a 'memento' (dynamic side block) #}

extensions/odoo_theme/static/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,15 @@ header.o_main_header{
378378
margin: 0;
379379
}
380380

381-
&.index, &.o_fullwidth_page, &.o_has_code_column {
381+
&.o_index, &.o_fullwidth_page, &.o_has_code_column {
382382
@include media-breakpoint-up(lg) {
383383
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1rem)) );
384384
}
385385
}
386386

387387
// Homepage
388388

389-
&.index {
389+
&.o_index {
390390
.o_content_fw_banner {
391391
margin: -3rem -0.75rem 3rem;
392392
padding: 2rem 1rem;

static/js/accounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global Immutable, React */
22
(function () {
3-
// NOTE VFE: used by memento.rst
3+
// NOTE: used by memento.rst
44
'use strict';
55

66
function highlight(primary, secondary) {

static/js/chart-of-accounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* global Immutable, React */
22
/* global createAtom */
33
(function () {
4-
// NOTE VFE: used by memento.rst
4+
// NOTE: used by memento.rst
55
'use strict';
66

77
var data = createAtom();

static/js/entries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* global createAtom, findAncestor */
33
(function () {
44
'use strict';
5-
// NOTE VFE: memento.rst
5+
// NOTE: memento.rst
66

77
var data = createAtom();
88
data.addWatch('chart', function (k, m, prev, next) {

static/js/inventory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* global Immutable, React */
22
/* global createAtom */
33
(function () {
4-
// NOTE VFE: used for double_entry.rst file
4+
// NOTE: used for double_entry.rst file
55
'use strict';
66

77
var data = createAtom();

static/js/misc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
});
77

88
function highlight() {
9-
// NOTE VFE: used by double-entry.rst
9+
// NOTE: used by double-entry.rst
1010
$('.highlighter-list').each(function () {
1111
var $this = $(this),
1212
$target = $($this.data('target'));
@@ -34,7 +34,7 @@
3434
* - automatically select first control on startup
3535
*/
3636
function alternatives() {
37-
// NOTE VFE: used by double-entry.rst & valuation_methods pages
37+
// NOTE: used by double-entry.rst & valuation_methods pages
3838
$('dl.alternatives').each(function (index) {
3939
var $list = $(this),
4040
$contents = $list.children('dd');
@@ -67,7 +67,7 @@
6767
});
6868
}
6969
function checks_handling() {
70-
// NOTE VFE: used by memento.rst
70+
// NOTE: used by memento.rst
7171
var $section = $('.checks-handling');
7272
if (!$section.length) { return; }
7373

static/js/reconciliation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function () {
2-
// NOTE VFE: memento.rst
2+
// NOTE: memento.rst
33
document.addEventListener('DOMContentLoaded', function () {
44
var $rec = $('#reconciliation .reconciliation-example');
55
if (!$rec.length) { return; }

0 commit comments

Comments
 (0)