<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>

<table class="table summary-table sortable table-striped table-bordered">

    <thead class="activity_head">
    <tr>
        <th>Domain</th>
        <th>Active User Count</th>
        <th>User Profile Count</th>
    </tr>
    </thead>

    <tbody>
    {% for row in rows %}
        <tr>

            {# Domain #}
            <td>
                <a href="?realm={{ row.domain }}">
                    {{ row.domain }}
                </a>
            </td>

            {# Active User Count #}
            <td class="number">
                {{ row.active_user_count }}
            </td>

            {# User Profile Count #}
            <td class="number">
                {{ row.user_profile_count }}
            </td>

        </tr>
    {% endfor %}
    </tbody>

</table>

<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>

<table class="table summary-table sortable table-striped table-bordered">

    <thead class="activity_head">
    <tr>
        <th>Domain</th>
        <th>Active users</th>
        <th>Total users</th>
    </tr>
    </thead>

    <tbody>
    {% for row in rows %}
        <tr>

            {# Domain #}
            <td>
                <a href="?realm={{ row.domain }}">
                    {{ row.domain }}
                </a>
            </td>

            {# Active users #}
            <td class="number">
                {{ row.active_user_count }}
            </td>

            {# Total users #}
            <td class="number">
                {{ row.user_profile_count }}
            </td>

        </tr>
    {% endfor %}
    </tbody>

</table>

Fix column names in General tab for /activity.
Fix column names in General tab for /activity.

(imported from commit 6be24be9ad022f2b0aa6fddefffd772dfb2ebfd6)
