Skip to content

Commit

Permalink
Adjust old masthead config
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Sep 4, 2015
1 parent 759c214 commit 359e812
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions templates/webapps/galaxy/galaxy.masthead.mako
Expand Up @@ -29,14 +29,8 @@
'ftp_upload_dir' : app.config.get("ftp_upload_dir", None),
'ftp_upload_site' : app.config.get("ftp_upload_site", None),
'datatypes_disable_auto' : app.config.get_bool("datatypes_disable_auto", False),
## user details
'user' : {
'requests' : bool(trans.user and (trans.user.requests or trans.app.security_agent.get_accessible_request_types(trans, trans.user))),
'email' : escape( trans.user.email ) if (trans.user) else "",
'valid' : bool(trans.user != None),
'json' : get_user_dict()
}
'user_requests' : bool( trans.user and ( trans.user.requests or app.security_agent.get_accessible_request_types( trans, trans.user ) ) ),
'user_json' : get_user_dict()
}
%>
Expand Down

0 comments on commit 359e812

Please sign in to comment.