{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Copyright (C) 2020-2026 Graz University of Technology. invenio-override is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. Overrides: invenio_app_rdm/users/communities.html Changes: - Added title and page_description for the page inner banner. - Added mobile action bar with "New community" button. - Added desktop "New community" circle button injected via JS into the React search row after render. #} {%- set title = _("Communities") %} {%- set page_description = _("Manage your communities and collaborate with others.") %} {%- extends "invenio_app_rdm/users/base.html" %} {% set active_dashboard_menu_item = "communities" %} {%- block javascript %} {{ super() }} {{ webpack['invenio-app-rdm-user-communities.js'] }} {%- endblock javascript %} {%- block user_dashboard_body %} {% if can_create_community %} {# Mobile/tablet: new community button shown above results on small screens #}
{{ _('New community') }} {{ _("Create a shared space") }}
{% endif %}
{% if can_create_community %} {# Desktop: new community button injected into the search/tabs row by JS after React renders #} {% endif %} {%- endblock user_dashboard_body %}