{% load i18n static cosinnus_tags facebook_integration_tags %} {% with fb_userID=request.user.cosinnus_profile.get_facebook_user_id %}
{% comment %} The {% if fb_userID %} {% else %} {% trans "Enable posting to Facebook" %} {% endif %}

{% if group and group.facebook_group_id or group and group.facebook_page_id %}

{% elif group and user.is_superuser or group and user.pk in group.admins %}

{% trans "Connect a Facebook Group or Fan-Page to enable members to publish their news posts there, too!" %} {% trans "You can do this here" context "a link to click on"%}

{% endif %}
{% endwith %}