Skip to content

Commit ba29c2f

Browse files
authored
Merge pull request #64722 from gabriel-rh/SRVCOM-2432-add-serverless-130-to-version-dropdown
SRVCOM-2432 add 1.30 to version dropdown for serverless
2 parents 48762ac + 577d48c commit ba29c2f

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
<%= distro %>
187187
</a>
188188
<select id="version-selector" onchange="versionSelector(this);">
189+
<option value="1.30">1.30</option>
189190
<option value="1.29">1.29</option>
190191
<option value="1.28">1.28</option>
191192
</select>

_templates/_search.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
99
<% elsif distro_key == 'openshift-telco' %>
1010
<%= render("_templates/_search_telco.html.erb", :version => version) %>
11+
<% elsif distro_key == 'openshift-serverless' %>
12+
<%= render("_templates/_search_serverless.html.erb", :version => version) %>
1113
<% else %>
1214
<%= render("_templates/_search_other.html") %>
1315
<% end %>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div id="hc-search">
2+
<input id="hc-search-input" type="text">
3+
<button id="hc-search-btn">Search</button>
4+
</div>
5+
6+
<div id="hc-search-modal">
7+
<div id="hc-modal-content">
8+
<span id="hc-modal-close">&times;</span>
9+
<div id="hc-search-results-wrapper">
10+
<div id="hc-search-results"></div>
11+
<div id="hc-search-progress-indicator" class="text-center search-progress-indicator"><i class="fa fa-circle-o-notch fa-spin" style="font-size:42px"></i></div>
12+
<div class="text-center">
13+
<button id="hc-search-more-btn">Show more results</button>
14+
</div>
15+
</div>
16+
</div>
17+
</div>
18+
19+
<script>
20+
hcSearchCategory("docs_serverless", "<%= version %>");
21+
</script>

0 commit comments

Comments
 (0)