1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

fix issue with navigation

This commit is contained in:
Vikram Goyal
2020-01-07 22:06:29 +10:00
committed by openshift-cherrypick-robot
parent a2fe253ed6
commit 1b74fad30e

View File

@@ -64,7 +64,7 @@
</a>
<ul id="topicSubGroup-<%= groupidx %>-<%= topicidx %>" class="nav-tertiary list-unstyled collapse<%= current_subgroup ? ' in' : '' %>">
<%- topic[:topics].each do |subtopic| -%>
<%- topic[:topics].each.with_index do |subtopic, subtopicidx| -%>
<!-- for each topic in this topic_group, in Welcome 2, what topics exist?
Welcome 2 Index Page, Welcome 3 and Welcome 2 More - we list them all.. -->
@@ -99,11 +99,11 @@
<%# current_subsubgroup %>
<li class="nav-header">
<a class="" href="javascript:void(0);" data-toggle="collapse" data-target="#topicSubSubGroup-<%= groupidx %>-<%= topicidx %>">
<span id="ssgSpan-<%= groupidx %>-<%= topicidx %>" class="fa <%= current_subsubgroup ? 'fa-caret-down' : 'fa-caret-right' %>"></span>
<a class="" href="javascript:void(0);" data-toggle="collapse" data-target="#topicSubSubGroup-<%= groupidx %>-<%= topicidx %>-<%= subtopicidx %>">
<span id="ssgSpan-<%= groupidx %>-<%= topicidx %>-<%= subtopicidx %>" class="fa <%= current_subsubgroup ? 'fa-caret-down' : 'fa-caret-right' %>"></span>
&nbsp;<%= subtopic[:name] %>
</a>
<ul id="topicSubSubGroup-<%= groupidx %>-<%= topicidx %>" class="nav-tertiary list-unstyled collapse<%= current_subsubgroup ? ' in' : '' %>">
<ul id="topicSubSubGroup-<%= groupidx %>-<%= topicidx %>-<%= subtopicidx %>" class="nav-tertiary list-unstyled collapse<%= current_subsubgroup ? ' in' : '' %>">
<%- subtopic[:topics].each do |subsubtopic| -%>
<!-- list all topics within Welcome 3 here. Note that we are not coding this for more subtopics here -->