Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Board Alerts
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Board Alerts
Commits
a502c7dc
Commit
a502c7dc
authored
7 years ago
by
Houzefa Abbasbhay
Browse files
Options
Downloads
Patches
Plain Diff
Add to the alert board -> Add to my alert board
parent
d61d6677
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
qweb/alert_board.xml
+1
-1
1 addition, 1 deletion
qweb/alert_board.xml
static/src/js/alert_board.js
+2
-2
2 additions, 2 deletions
static/src/js/alert_board.js
static/src/less/alert_board.less
+1
-1
1 addition, 1 deletion
static/src/less/alert_board.less
with
4 additions
and
4 deletions
qweb/alert_board.xml
+
1
−
1
View file @
a502c7dc
...
...
@@ -7,7 +7,7 @@
odoo/addons/board/static/src/xml/board.xml. -->
<t
t-name=
"SearchView.add_to_alert_dashboard"
>
<li
class=
"o_add_to_alert_dashboard_link o_closed_menu"
>
<a
href=
"#"
>
Add to
the
alert dashboard
</a>
<a
href=
"#"
>
Add to
my
alert dashboard
</a>
</li>
<li
class=
"o_add_to_alert_dashboard"
>
<input
class=
"o_add_to_alert_dashboard_input"
type=
"text"
/>
...
...
This diff is collapsed.
Click to expand it.
static/src/js/alert_board.js
+
2
−
2
View file @
a502c7dc
...
...
@@ -3,7 +3,7 @@
/* Taken from the default "My board" dashboard.
* Ref: odoo/addons/board/static/js/dashboard.js.
*
* Adapted to add an "Add to
the
alert board" menu command.
* Adapted to add an "Add to
my
alert board" menu command.
*/
odoo
...
...
@@ -126,7 +126,7 @@
data_manager
.
invalidate
();
}
else
{
self
.
do_warn
(
_t
(
"
Could not add filter to dashboard
"
));
.
do_warn
(
_t
(
"
Could not add filter to
alert
dashboard
"
));
}
});
},
...
...
This diff is collapsed.
Click to expand it.
static/src/less/alert_board.less
+
1
−
1
View file @
a502c7dc
// Taken from default "My board" dashboard styles.
// Ref: odoo/addons/board/static/less/alert_board.less.
// Adapted to add an "Add to
the
alert board" menu command.
// Adapted to add an "Add to
my
alert board" menu command.
.o_add_to_alert_dashboard {
display: none; // hidden by default
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment