Skip to content

Commit

Permalink
Refactor Textual Summary archtecture
Browse files Browse the repository at this point in the history
Refactor physical server textual summary for new archtecture
  • Loading branch information
gabrielsvinha committed May 5, 2017
1 parent 244b8b4 commit 90e3a5a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/helpers/physical_server_helper/textual_summary.rb
@@ -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 90e3a5a

Please sign in to comment.