mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-23 05:51:57 +00:00
Attempt to fix invenio plugin
This commit is contained in:
@@ -10,8 +10,10 @@ blueprint = Blueprint(
|
|||||||
@blueprint.before_app_first_request
|
@blueprint.before_app_first_request
|
||||||
def init_menu():
|
def init_menu():
|
||||||
"""Add custom items to main menu."""
|
"""Add custom items to main menu."""
|
||||||
current_menu.submenu("main").register(
|
main_menu = current_menu
|
||||||
"About AM-D-Model",
|
|
||||||
"https://am-d-model.eu",
|
main_menu.submenu("main").register(
|
||||||
|
text="About AM-D-Model",
|
||||||
|
external_url="https://am-d-model.eu",
|
||||||
order=0,
|
order=0,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user