-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
membership-requests [#855]: add discussion page in community dashboar…
…d [+] - also fix top menu to display "Members"
- Loading branch information
Showing
2 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...plates/semantic-ui/invenio_requests/community-membership-request/community_dashboard.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{# -*- 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 member_request_header %} | ||
|
||
{% set active_community_header_menu_item = 'members' %} | ||
{% set active_members_menu_item = 'membership_requests' %} | ||
|
||
{% block request_header %} | ||
{{ | ||
member_request_header( | ||
back_button_url=url_for("invenio_communities.membership_requests", pid_value=invenio_request.receiver.community), | ||
back_button_text=_("Back to membership requests"), | ||
request=invenio_request | ||
) | ||
}} | ||
{% endblock %} | ||
|
||
|
||
{% block settings_body %} | ||
<div class="sixteen wide mobile sixteen wide tablet thirteen wide computer column right floated"> | ||
{% block request_body %} | ||
{{ super() }} | ||
{% endblock request_body %} | ||
</div> | ||
{% endblock %} | ||
|
||
{% block page_body %} | ||
{{ super.super() }} | ||
{% endblock page_body %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters