Skip to content

Commit

Permalink
Merge pull request #4852 from dannon/fix_jsutils_time
Browse files Browse the repository at this point in the history
Fix jsutils time - fixes charts visualize
  • Loading branch information
martenson committed Oct 24, 2017
2 parents 2db575b + 546a8c6 commit fa295c0
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 16 deletions.
19 changes: 10 additions & 9 deletions client/galaxy/scripts/apps/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ window.app = function app(options, bootstrapped) {
/** Routes */
var AdminRouter = Router.extend({
routes: {
"(/)admin(/)users" : "show_users",
"(/)admin(/)roles" : "show_roles",
"(/)admin(/)groups" : "show_groups",
"(/)admin(/)tool_versions" : "show_tool_versions",
"(/)admin(/)quotas" : "show_quotas",
"(/)admin(/)repositories" : "show_repositories",
"(/)admin(/)forms" : "show_forms",
"(/)admin(/)form(/)(:form_id)" : "show_form"
"(/)admin(/)users": "show_users",
"(/)admin(/)roles": "show_roles",
"(/)admin(/)groups": "show_groups",
"(/)admin(/)tool_versions": "show_tool_versions",
"(/)admin(/)quotas": "show_quotas",
"(/)admin(/)repositories": "show_repositories",
"(/)admin(/)forms": "show_forms",
"(/)admin(/)form(/)(:form_id)": "show_form"
},

authenticate: function(args, name) {
Expand Down Expand Up @@ -64,7 +64,8 @@ window.app = function app(options, bootstrapped) {
show_repositories: function() {
this.page.display(
new GridView({
url_base: Galaxy.root + "admin_toolshed/browse_repositories",
url_base:
Galaxy.root + "admin_toolshed/browse_repositories",
url_data: Galaxy.params,
dict_format: true
})
Expand Down
5 changes: 3 additions & 2 deletions client/galaxy/scripts/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ define(["utils/localization"], function(_l) {
var d = new Date();
var hours = (d.getHours() < 10 ? "0" : "") + d.getHours();
var minutes = (d.getMinutes() < 10 ? "0" : "") + d.getMinutes();
return (datetime =
return (
d.getDate() +
"/" +
(d.getMonth() + 1) +
Expand All @@ -321,7 +321,8 @@ define(["utils/localization"], function(_l) {
", " +
hours +
":" +
minutes);
minutes
);
}

/** Append script and style tags to Galaxy main application */
Expand Down
2 changes: 1 addition & 1 deletion static/maps/utils/utils.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/admin.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/utils/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fa295c0

Please sign in to comment.