Added Newsletter button to following

This commit is contained in:
2025-11-27 22:02:20 +01:00
parent 9f4bbd4066
commit 21a1c99fda
2 changed files with 14 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ followus:
class: fa-brands fa-mastodon class: fa-brands fa-mastodon
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.mastodon.split('@')[2] }}/@{{ service_provider.contact.mastodon.split('@')[1] }}" url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.mastodon.split('@')[2] }}/@{{ service_provider.contact.mastodon.split('@')[1] }}"
identifier: "{{service_provider.contact.mastodon}}" identifier: "{{service_provider.contact.mastodon}}"
iframe: {{ applications | get_app_conf('web-app-mastodon','features.desktop',True) }} iframe: {{ applications | get_app_conf('web-app-mastodon','features.desktop') }}
{% endif %} {% endif %}
{% if service_provider.contact.bluesky is defined and service_provider.contact.bluesky != "" %} {% if service_provider.contact.bluesky is defined and service_provider.contact.bluesky != "" %}
- name: Bluesky - name: Bluesky
@@ -31,7 +31,7 @@ followus:
class: fa-solid fa-camera class: fa-solid fa-camera
identifier: "{{service_provider.contact.pixelfed}}" identifier: "{{service_provider.contact.pixelfed}}"
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.pixelfed.split('@')[2] }}/@{{ service_provider.contact.pixelfed.split('@')[1] }}" url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.pixelfed.split('@')[2] }}/@{{ service_provider.contact.pixelfed.split('@')[1] }}"
iframe: {{ applications | get_app_conf('web-app-pixelfed','features.desktop',True) }} iframe: {{ applications | get_app_conf('web-app-pixelfed','features.desktop') }}
{% endif %} {% endif %}
{% if service_provider.contact.peertube is defined and service_provider.contact.peertube != "" %} {% if service_provider.contact.peertube is defined and service_provider.contact.peertube != "" %}
- name: Peertube - name: Peertube
@@ -40,7 +40,7 @@ followus:
class: fa-solid fa-video class: fa-solid fa-video
identifier: "{{service_provider.contact.peertube}}" identifier: "{{service_provider.contact.peertube}}"
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.peertube.split('@')[2] }}/@{{ service_provider.contact.peertube.split('@')[1] }}" url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.peertube.split('@')[2] }}/@{{ service_provider.contact.peertube.split('@')[1] }}"
iframe: {{ applications | get_app_conf('web-app-peertube','features.desktop',True) }} iframe: {{ applications | get_app_conf('web-app-peertube','features.desktop') }}
{% endif %} {% endif %}
{% if service_provider.contact.wordpress is defined and service_provider.contact.wordpress != "" %} {% if service_provider.contact.wordpress is defined and service_provider.contact.wordpress != "" %}
- name: WordPress - name: WordPress
@@ -49,7 +49,7 @@ followus:
class: fa-solid fa-blog class: fa-solid fa-blog
identifier: "{{service_provider.contact.wordpress}}" identifier: "{{service_provider.contact.wordpress}}"
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.wordpress.split('@')[2] }}/@{{ service_provider.contact.wordpress.split('@')[1] }}" url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.wordpress.split('@')[2] }}/@{{ service_provider.contact.wordpress.split('@')[1] }}"
iframe: {{ applications | get_app_conf('web-app-wordpress','features.desktop',True) }} iframe: {{ applications | get_app_conf('web-app-wordpress','features.desktop') }}
{% endif %} {% endif %}
{% if service_provider.contact.friendica is defined and service_provider.contact.friendica != "" %} {% if service_provider.contact.friendica is defined and service_provider.contact.friendica != "" %}
- name: Friendica - name: Friendica
@@ -58,5 +58,13 @@ followus:
class: fa-solid fa-network-wired class: fa-solid fa-network-wired
identifier: "{{service_provider.contact.friendica}}" identifier: "{{service_provider.contact.friendica}}"
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.friendica.split('@')[2] }}/@{{ service_provider.contact.friendica.split('@')[1] }}" url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.friendica.split('@')[2] }}/@{{ service_provider.contact.friendica.split('@')[1] }}"
iframe: {{ applications | get_app_conf('web-app-friendica','features.desktop',True) }} iframe: {{ applications | get_app_conf('web-app-friendica','features.desktop') }}
{% endif %} {% endif %}
{% if 'web-app-listmonk' in group_names %}
- name: Newsletter
description: Subscribe {{ 'our' if service_provider.type == 'legal' else 'my' }} our newsletter
icon:
class: fa-solid fa-envelope
url: "{{ domains | get_url("web-app-listmonk", WEB_PROTOCOL) }}"
iframe: {{ applications | get_app_conf('web-app-listmonk','features.desktop') }}
{% endif %}

View File

@@ -18,7 +18,7 @@ galaxy_info:
issue_tracker_url: "https://s.infinito.nexus/issues" issue_tracker_url: "https://s.infinito.nexus/issues"
documentation: "https://docs.infinito.nexus" documentation: "https://docs.infinito.nexus"
logo: logo:
class: "fa-solid fa-list" class: "fa-solid fa-envelope"
run_after: run_after:
- web-app-matomo - web-app-matomo
- web-app-keycloak - web-app-keycloak