{% load cache thumbnail utils %}

{% kwacro preview_body %}
    <header class="group-preview-header">
        {% with cover_url=group.get_cover_url %}
            {% if cover_url %}
                <div class="group-preview-image">
                    <img src="{{ cover_url }}" />
                </div>
            {% else %}
                <div class="group-preview-image group-preview-image-placeholder"></div>
            {% endif %}
        {% endwith %}
        {% include "groups/_avatar.html" with group=group link=False %}
        {% if user.is_authenticated %}
            <div class="group-preview-stats">
                {% include_features '_group_preview_stats.html' %}
            </div>
        {% endif %}
    </header>
    <div class="group-preview-body">
        <h3>{{ group.name }}</h3>
        <p>{{ group.description|default:"Diese Gruppe hat noch keine Beschreibung auf Stadtgestalten hinterlegt." }}</p>
    </div>
{% endkwacro %}

{% if link %}
    <a class="group-preview" href="{{ group.get_absolute_url }}">
        {%  usekwacro preview_body %}
    </a>
{% else %}
    <div class="group-preview">
        {%  usekwacro preview_body %}
    </div>
{% endif %}

{% load cache thumbnail utils %}

{% kwacro preview_body %}
    <header class="group-preview-header">
        {% with cover_url=group.get_cover_url %}
            {% if cover_url %}
                <div class="group-preview-image">
                    <img src="{{ cover_url }}" />
                </div>
            {% else %}
                <div class="group-preview-image group-preview-image-placeholder"></div>
            {% endif %}
        {% endwith %}
        {% include "groups/_avatar.html" with group=group link=False %}
        {% if user.is_authenticated %}
            <div class="group-preview-stats">
                {% include_features '_group_preview_stats.html' %}
            </div>
        {% endif %}
    </header>
    <div class="group-preview-body">
        <h3>{{ group.name }}</h3>
        <p>
            {% if group.description %}
                {{ group.description }}
            {% else %}
                Diese Gruppe hat noch keine Beschreibung auf {{ about_group }} hinterlegt.
            {% endif %}
        </p>
    </div>
{% endkwacro %}

{% if link %}
    <a class="group-preview" href="{{ group.get_absolute_url }}">
        {%  usekwacro preview_body %}
    </a>
{% else %}
    <div class="group-preview">
        {%  usekwacro preview_body %}
    </div>
{% endif %}

Replace Stadtgestalten by generic plattform name
Replace Stadtgestalten by generic plattform name
