Navigation Menu

Skip to content

Commit

Permalink
move the 'import from file' to the saved histories page
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Mar 19, 2019
1 parent 8ba9db1 commit bab975c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
10 changes: 0 additions & 10 deletions client/galaxy/scripts/mvc/history/options-menu.js
Expand Up @@ -202,16 +202,6 @@ var menu = [
html: _l("Export History to File"),
href: "history/export_archive?preview=True",
anon: true
},

{
html: _l("Other Actions"),
header: true
},
{
html: _l("Import from File"),
href: "histories/import",
target: "_top"
}
];

Expand Down
3 changes: 3 additions & 0 deletions lib/galaxy/webapps/galaxy/controllers/history.py
Expand Up @@ -98,6 +98,9 @@ def build_initial_query(self, trans, **kwargs):
cols_to_filter=[columns[0], columns[3]],
key="free-text-search", visible=False, filterable="standard")
)
global_actions = [
grids.GridAction("Import from file", dict(controller="", action="histories/import"))
]
operations = [
grids.GridOperation("Switch", allow_multiple=False, condition=(lambda item: not item.deleted), async_compatible=True),
grids.GridOperation("View", allow_multiple=False, url_args=dict(controller="", action="histories/view")),
Expand Down

0 comments on commit bab975c

Please sign in to comment.