Skip to content

Commit

Permalink
TextualSummary: make "Build Instances" wide.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpovolny committed Jan 6, 2020
1 parent cc6f43a commit 0ce2c6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/helpers/container_build_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def textual_group_smart_management
def textual_group_build_instances
TextualMultilabel.new(
_("Build Instances"),
:wide => true,
:additional_table_class => "table-fixed",
:values => collect_build_pods,
:labels => [
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/textual_multilabel.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TextualMultilabel = Struct.new(:title, :options) do
def locals
{:title => title, :rows => options[:values], :labels => options[:labels], :component => 'SimpleTable'}
{:title => title, :rows => options[:values], :labels => options[:labels], :component => 'SimpleTable', :wide => options[:wide]}
end
end

0 comments on commit 0ce2c6b

Please sign in to comment.