diff --git a/roles/mailman/files/login_extra_top.html b/roles/mailman/files/login_extra_top.html new file mode 100644 index 0000000000..e1713c0450 --- /dev/null +++ b/roles/mailman/files/login_extra_top.html @@ -0,0 +1,6 @@ +
+By subscribing or posting to these mailing lists, you agree that any email +to the list is public and viewable worldwide (unless it's one of the few private mailing-lists). +For more details, see our +Privacy policy. +
diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 79a1962683..882ed98327 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -341,9 +341,12 @@ state=directory owner=root group=root mode=0755 tags: mailman -- name: create the hyperkitty templates override dir - file: path="{{ mailman_webui_basedir }}/templates/hyperkitty" +- name: create the hyperkitty templates override dirs + file: path="{{ mailman_webui_basedir }}/templates/{{ item }}" state=directory owner=root group=root mode=0755 + with_items: + - hyperkitty + - django_mailman3 tags: mailman - name: install our fedora-specific logo @@ -371,6 +374,11 @@ dest="{{ mailman_webui_basedir }}/templates/hyperkitty/headers.html" tags: mailman +- name: install our fedora-specific login page extension + copy: src=login_extra_top.html + dest="{{ mailman_webui_basedir }}/templates/django_mailman3/login_extra_top.html" + tags: mailman + - name: Install our fedmenu js hook template: src=bottom.html dest="{{mailman_webui_basedir }}/templates/hyperkitty/bottom.html"