From 7496beb4137d237059c04de28877283e617aba80 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 2 Feb 2017 11:01:28 +0100 Subject: [PATCH] Updated author + minor code review of web_fullscreen --- web_fullscreen/README.rst | 18 ++++++++++ web_fullscreen/__init__.py | 20 ++--------- web_fullscreen/__openerp__.py | 36 ++++--------------- .../views/web_fullscreen_templates.xml | 2 +- 4 files changed, 28 insertions(+), 48 deletions(-) create mode 100644 web_fullscreen/README.rst diff --git a/web_fullscreen/README.rst b/web_fullscreen/README.rst new file mode 100644 index 00000000..5ac6cdbe --- /dev/null +++ b/web_fullscreen/README.rst @@ -0,0 +1,18 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +========== +Fullscreen +========== + +Adds a fullscreen mode button that toggles the primary and secondary menu. + + +Credits +======= + +Contributors +------------ + +* Dennis Sluijk diff --git a/web_fullscreen/__init__.py b/web_fullscreen/__init__.py index ba15f90f..9b9ad0f1 100644 --- a/web_fullscreen/__init__.py +++ b/web_fullscreen/__init__.py @@ -1,19 +1,3 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Copyright (C) 2016 ONESTEiN BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# Copyright 2016 Onestein () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/web_fullscreen/__openerp__.py b/web_fullscreen/__openerp__.py index 6fc350d3..1c7c8940 100644 --- a/web_fullscreen/__openerp__.py +++ b/web_fullscreen/__openerp__.py @@ -1,33 +1,14 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Copyright (C) 2016 ONESTEiN BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# Copyright 2016 Onestein () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': "Fullscreen", - 'summary': """""", - 'description': """ -Adds a fullscreen mode button that toggles the primary and secondary menu. -""", - 'author': "ONESTEiN BV", - 'website': "http://www.onestein.eu", + 'name': 'Fullscreen', + 'summary': 'Adds a fullscreen mode button', + 'author': 'Onestein', + 'website': 'http://www.onestein.eu', 'category': 'Extra Tools', - 'version': '1.0', + 'version': '8.0.1.0.0', 'depends': ['web'], 'data': [ 'views/web_fullscreen_views.xml' @@ -35,8 +16,5 @@ Adds a fullscreen mode button that toggles the primary and secondary menu. 'qweb': [ 'views/web_fullscreen_templates.xml' ], - 'demo': [], 'installable': True, - 'auto_install': False, - 'application': False, } diff --git a/web_fullscreen/views/web_fullscreen_templates.xml b/web_fullscreen/views/web_fullscreen_templates.xml index afe62645..f9998c9e 100644 --- a/web_fullscreen/views/web_fullscreen_templates.xml +++ b/web_fullscreen/views/web_fullscreen_templates.xml @@ -5,4 +5,4 @@ ò - \ No newline at end of file +