diff --git a/group_vars/roundcube.yml b/group_vars/roundcube.yml index 9b772a860dc72a1e9f51c747e169b8291d982797..ebc76ac03dc5a87da5c4c06e3e70d7d1e7b34dc3 100644 --- a/group_vars/roundcube.yml +++ b/group_vars/roundcube.yml @@ -24,3 +24,8 @@ roundcube_glob: - name: listcommands - name: thunderbird_labels - name: contextmenu + logo: + elastic_login: https://www.crans.org/images/crans_black.svg + elastic: https://www.crans.org/images/crans.svg + larry: https://www.crans.org/images/crans_banner.png + classic: https://www.crans.org/images/crans_banner.png diff --git a/roles/roundcube/templates/roundcube/config.inc.php.j2 b/roles/roundcube/templates/roundcube/config.inc.php.j2 index f49a0d9a8f19ba429bbf4c05548b665357cc5477..5336f50866c151cc1d2f1a3aee40606d0713bac3 100644 --- a/roles/roundcube/templates/roundcube/config.inc.php.j2 +++ b/roles/roundcube/templates/roundcube/config.inc.php.j2 @@ -90,11 +90,11 @@ $config['enable_spellcheck'] = false; // Custom logo $config['skin_logo'] = array( - "elastic:login[small]" => "https://www.crans.org/images/crans_black.svg", - "elastic:login" => "https://www.crans.org/images/crans_black.svg", - "elastic:*" => "https://www.crans.org/images/crans.svg", - "larry:*" => "https://www.crans.org/images/crans_banner.png", - "classic:*" => "https://www.crans.org/images/crans_banner.png" + "elastic:login[small]" => "{{ roundcube.logo.elastic_login }}", + "elastic:login" => "{{ roundcube.logo.elastic_login }}", + "elastic:*" => "{{ roundcube.logo.elastic }}", + "larry:*" => "{{ roundcube.logo.larry }}", + "classic:*" => "{{ roundcube.logo.classic }}" ); // This domain will be used to form e-mail addresses of new users