From 87b4060e5290eac2db73e4f05347f57213f7503e Mon Sep 17 00:00:00 2001 From: Maximilian Haye Date: Tue, 10 Dec 2024 16:00:13 +0100 Subject: [PATCH] style: let's not include copyright headers in mustache output --- templates/render_error.mustache | 32 ++++++++++++------------- templates/render_warnings.mustache | 32 ++++++++++++------------- templates/settings/packages.mustache | 31 ++++++++++++------------ templates/settings/server_info.mustache | 32 ++++++++++++------------- 4 files changed, 63 insertions(+), 64 deletions(-) diff --git a/templates/render_error.mustache b/templates/render_error.mustache index cd78e6ee..c1977563 100644 --- a/templates/render_error.mustache +++ b/templates/render_error.mustache @@ -1,19 +1,19 @@ - +{{! + This file is part of the QuestionPy Moodle plugin - https://questionpy.org + + Moodle is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Moodle 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Moodle. If not, see . +!}} {{! @template qtype_questionpy/render_error diff --git a/templates/render_warnings.mustache b/templates/render_warnings.mustache index 999d9d9a..61349b7c 100644 --- a/templates/render_warnings.mustache +++ b/templates/render_warnings.mustache @@ -1,19 +1,19 @@ - +{{! + This file is part of the QuestionPy Moodle plugin - https://questionpy.org + + Moodle is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Moodle 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Moodle. If not, see . +!}} {{! @template qtype_questionpy/render_error diff --git a/templates/settings/packages.mustache b/templates/settings/packages.mustache index e60ced95..a622d820 100644 --- a/templates/settings/packages.mustache +++ b/templates/settings/packages.mustache @@ -1,20 +1,19 @@ - +{{! + This file is part of the QuestionPy Moodle plugin - https://questionpy.org + + Moodle is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Moodle 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Moodle. If not, see . +!}} {{! @template qtype_questionpy/settings/packages diff --git a/templates/settings/server_info.mustache b/templates/settings/server_info.mustache index edf229f9..82a43819 100644 --- a/templates/settings/server_info.mustache +++ b/templates/settings/server_info.mustache @@ -1,19 +1,19 @@ - +{{! + This file is part of the QuestionPy Moodle plugin - https://questionpy.org + + Moodle is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Moodle 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Moodle. If not, see . +!}} {{! @template qtype_questionpy/settings/server_info