diff --git a/app.py b/app.py index 413a4b7..af36afa 100644 --- a/app.py +++ b/app.py @@ -323,6 +323,7 @@ def solar(text): collaborators=collaborators, cooperation_history=cooperation_history, user_id=current_user.id, + institution_id=current_user_institution.id, is_admin=is_admin, is_institution_coordinator=current_user_institution_coordinator) elif text.startswith('admin/') or text == 'admin': users = portal.solar.get_all_users_join_institutions() diff --git a/templates/solar-admin.html b/templates/solar-admin.html index 3692817..c7ed7ac 100644 --- a/templates/solar-admin.html +++ b/templates/solar-admin.html @@ -3,6 +3,10 @@