From f071b6e0a784fe8ef0f895e9c06cf8deedefdfa0 Mon Sep 17 00:00:00 2001 From: Saksham Date: Tue, 24 Sep 2024 11:35:58 +0200 Subject: [PATCH] communities: config: Update static page URLs to prevent name collisions --- invenio_communities/config.py | 4 ++-- .../templates/semantic-ui/invenio_communities/search.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/invenio_communities/config.py b/invenio_communities/config.py index 63bade7fd..4c9e98331 100644 --- a/invenio_communities/config.py +++ b/invenio_communities/config.py @@ -21,8 +21,8 @@ COMMUNITIES_ROUTES = { "frontpage": "/communities", - "search": "/communities/search", - "new": "/communities/new", + "search": "/communities-search", + "new": "/communities-new", "upload": "/communities//upload", "settings": "/communities//settings", "requests": "/communities//requests", diff --git a/invenio_communities/templates/semantic-ui/invenio_communities/search.html b/invenio_communities/templates/semantic-ui/invenio_communities/search.html index a1c48d1ba..f8cc5f420 100644 --- a/invenio_communities/templates/semantic-ui/invenio_communities/search.html +++ b/invenio_communities/templates/semantic-ui/invenio_communities/search.html @@ -22,7 +22,7 @@

{{_("Communities")}}

{% if permissions.can_create %} - + {{ _('New community') }}