Skip to content

Commit

Permalink
menu: added submit submenu for branded comm
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah authored and slint committed Mar 4, 2024
1 parent 426e2d2 commit 8100d97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions invenio_app_rdm/communities_ui/views/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ def register_menus():
order=2,
expected_args=["pid_value"],
**dict(icon="search", permissions=True),
),
communities.submenu("submit").register(
external_url="pages/how-to-submit",
text=_("Submit"),
order=3,
visible_when=_is_branded_community,
**dict(icon="upload", permissions="can_read"),
)

# Register error handlers
Expand Down

0 comments on commit 8100d97

Please sign in to comment.