Skip to content

Commit

Permalink
Renamed first_user_summary to method_details
Browse files Browse the repository at this point in the history
  • Loading branch information
amalvijayan03 committed Sep 8, 2023
1 parent 6bb35eb commit 81ebaeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/helpers/miq_ae_class_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def datastore_form(ae_ns, sb_data, type)
:descReadOnly => domain && !ae_ns.editable_property?(:description)})
end

def first_user_summary(ae_method, sb_data)
def method_details(ae_method, sb_data)
rows = [
row_data(_('Type'), ae_method.location),
row_data(_('Fully Qualified Name'), sb_data[:namespace_path]),
Expand All @@ -336,7 +336,7 @@ def first_user_summary(ae_method, sb_data)

miq_structured_list({
:title => _('Main Info'),
:mode => "first_user_summary",
:mode => "method_details",
:rows => rows
})
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/miq_ae_class/_method_inputs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- else
= render :partial => "method_form", :locals => {:prefix => ""}
- else
= first_user_summary(@ae_method, @sb)
= method_details(@ae_method, @sb)
- if @ae_method.location == 'inline'
= render :partial => "embedded_methods"
= render :partial => "domain_overrides", :locals => {:node_prefix => "aem", :model => "Method"}
Expand Down

0 comments on commit 81ebaeb

Please sign in to comment.