diff options
| author | Dharmraj Jhala <dja@odoo.com> | 2019-04-11 12:11:48 +0000 |
|---|---|---|
| committer | Dharmraj Jhala <dja@odoo.com> | 2019-04-16 10:34:49 +0000 |
| commit | 33e17775e159376da13cb89220a18c7c2545ab9d (patch) | |
| tree | 16191dda067d5a4aef7d3730ad632a6648762b32 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 378d7478b65df0fe5cc309fe5de4364960d61d43 (diff) | |
[ADD] website: added tools file for utility methods
This commit adds a new file 'tools.py' that can contain
utility methods which can be used at more than one places.
For now it contains a method 'get_video_embed_url', that
will accept a URL for the video and return an iframe snippet
that can be embedded if the provided URL is valid (returns
False otherwise).
task-1945483
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
