Skip to content

Commit

Permalink
Resync client-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Apr 3, 2018
1 parent d41c5a7 commit 6a0eeea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 10 additions & 2 deletions client/galaxy/scripts/mvc/ui/ui-tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ export var View = Backbone.View.extend({
_template: function() {
return $("<div/>")
.addClass("ui-tabs tabbable tabs-left")
.append($("<ul/>").attr("style", "display: flex").addClass("tab-navigation nav nav-tabs"))
.append(
$("<ul/>")
.attr("style", "display: flex")
.addClass("tab-navigation nav nav-tabs")
)
.append($("<div/>").addClass("tab-content"));
},

Expand All @@ -153,7 +157,11 @@ export var View = Backbone.View.extend({
var $tmpl = $("<li/>")
.addClass("tab-element nav-item")
.attr("id", `tab-${options.id}`)
.append($("<a/>").addClass("nav-link").attr("id", `tab-title-link-${options.id}`));
.append(
$("<a/>")
.addClass("nav-link")
.attr("id", `tab-title-link-${options.id}`)
);
var $href = $tmpl.find("a");
options.icon &&
$href.append(
Expand Down
4 changes: 3 additions & 1 deletion client/galaxy/scripts/mvc/workflow/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ const WorkflowItemView = Backbone.View.extend({
return `
<td>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown">${_.escape(this.model.get("name"))}
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown">${_.escape(
this.model.get("name")
)}
<span class="caret"></span>
</button>
${this._templateActions()}
Expand Down

0 comments on commit 6a0eeea

Please sign in to comment.