<commit_before>- if @record.try(:name)
  #accordion.panel-group
    = miq_accordion_panel(truncate(@record.name, :length => truncate_length), true, "icon") do
      = render_quadicon(@record, :mode => :icon, :size => 72, :typ => :listnav)

    = miq_accordion_panel(_("Properties"), false, "ems_middleware_prop") do
      %ul.nav.nav-pills.nav-stacked
        %li
          = link_to(_('Summary'), {:action => 'show', :id => @record, :display => 'main'}, :title => _("Show Summary"))
    = miq_accordion_panel(_("Relationships"), false, "ems_middleware_rel") do
      %ul.nav.nav-pills.nav-stacked
        - %w(middleware_domain middleware_server middleware_deployment middleware_datasource middleware_messaging).each do |ent|
          = multiple_relationship_link(@record, ent)<commit_msg>Fixes #11689 Link called 'Summary' in the accordion menu of middleware provider doesn't work<commit_after>- if @record.try(:name)
  #accordion.panel-group
    = miq_accordion_panel(truncate(@record.name, :length => truncate_length), true, "icon") do
      = render_quadicon(@record, :mode => :icon, :size => 72, :typ => :listnav)

    = miq_accordion_panel(_("Properties"), false, "ems_middleware_prop") do
      %ul.nav.nav-pills.nav-stacked
        = li_link(:if => true,
           :text => _('Summary'),
           :record => @record,
           :display => 'main',
           :title => _("Show Summary"))
    = miq_accordion_panel(_("Relationships"), false, "ems_middleware_rel") do
      %ul.nav.nav-pills.nav-stacked
        - %w(middleware_domain middleware_server middleware_deployment middleware_datasource middleware_messaging).each do |ent|
          = multiple_relationship_link(@record, ent)
{'fraction_non_alphanumeric': 0.14976415094339623, 'fraction_numerical': 0.005306603773584905, 'mean_word_length': 3.947521865889213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7430', 'n_tokens_mistral': 571, 'n_tokens_neox': 538, 'n_words': 106}