Skip to content

Commit

Permalink
Merge pull request #1295 from GabrielSVinha/textual_summary_update
Browse files Browse the repository at this point in the history
Refactor Textual Summary archtecture
  • Loading branch information
martinpovolny authored May 5, 2017
2 parents a2769ea + 90e3a5a commit d076adb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/helpers/physical_server_helper/textual_summary.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module PhysicalServerHelper::TextualSummary
def textual_group_properties
%i(name model product_name manufacturer machine_type serial_number ems_ref)
TextualGroup.new(
_("Properties"),
%i(name model product_name manufacturer machine_type serial_number ems_ref)
)
end

def textual_group_relationships
%i(host)
TextualGroup.new(
_("Relationships"),
%i(host)
)
end

def textual_group_compliance
Expand Down

0 comments on commit d076adb

Please sign in to comment.