Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: [#855] add community-membership-request discussion page #2666

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions invenio_app_rdm/communities_ui/views/communities.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ def communities_detail(pid_value, community, community_ui):
return render_community_theme_template(
"invenio_communities/records/index.html",
theme=community_ui.get("theme", {}),
community=community,
community_ui=community_ui,
community=community_ui,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By all accounts that was a bug given everyother related views maps community to community_ui.

# Pass permissions so we can disable partially UI components
# e.g Settings tab
permissions=permissions,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{# -*- coding: utf-8 -*-

This file is part of Invenio.
Copyright (C) 2022 CERN.
Copyright (C) 2024 Northwestern University.

Invenio is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
#}
{% set title = invenio_request.title %}
{% extends "invenio_requests/details/index.html" %}
{% from "invenio_requests/macros/request_header.html" import invitation_request_header %}


{% block request_header %}
{{
invitation_request_header(
back_button_url=url_for("invenio_app_rdm_users.requests"),
back_button_text=_("Back to requests"),
request=invenio_request,
accepted=request_is_accepted
)
}}
{% endblock %}

{% set active_dashboard_menu_item = 'requests' %}