diff --git a/modules/installed/apps/templates/owncloud.html b/modules/installed/apps/templates/owncloud.html
index b0418e91d..de66a9f74 100644
--- a/modules/installed/apps/templates/owncloud.html
+++ b/modules/installed/apps/templates/owncloud.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/router/templates/pagekite_configure.html b/modules/installed/router/templates/pagekite_configure.html
index 0492f1b5e..86f9e28e9 100644
--- a/modules/installed/router/templates/pagekite_configure.html
+++ b/modules/installed/router/templates/pagekite_configure.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/services/templates/xmpp_configure.html b/modules/installed/services/templates/xmpp_configure.html
index fe37b5440..75b537232 100644
--- a/modules/installed/services/templates/xmpp_configure.html
+++ b/modules/installed/services/templates/xmpp_configure.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/services/templates/xmpp_register.html b/modules/installed/services/templates/xmpp_register.html
index 92b1abfc9..1d81e299d 100644
--- a/modules/installed/services/templates/xmpp_register.html
+++ b/modules/installed/services/templates/xmpp_register.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/system/templates/config.html b/modules/installed/system/templates/config.html
index 89f766784..8d8319c40 100644
--- a/modules/installed/system/templates/config.html
+++ b/modules/installed/system/templates/config.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/system/templates/expert_mode.html b/modules/installed/system/templates/expert_mode.html
index 132d2c5ab..64db2cda5 100644
--- a/modules/installed/system/templates/expert_mode.html
+++ b/modules/installed/system/templates/expert_mode.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}
diff --git a/modules/installed/system/templates/wan.html b/modules/installed/system/templates/wan.html
index 254eca97f..229a8b19a 100644
--- a/modules/installed/system/templates/wan.html
+++ b/modules/installed/system/templates/wan.html
@@ -1,4 +1,23 @@
{% extends "login_nav.html" %}
+{% comment %}
+#
+# This file is part of Plinth.
+#
+# 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 .
+#
+{% endcomment %}
+
{% load bootstrap %}
{% block main_block %}