|
11 | 11 | <meta content="width=device-width, initial-scale=1.0" name="viewport">
|
12 | 12 | <%= (distro_key == "openshift-webscale") ? '<meta name="robots" content="noindex,nofollow">' : '' %>
|
13 | 13 | <%= (distro_key == "openshift-dpu") ? '<meta name="robots" content="noindex,nofollow">' : '' %>
|
| 14 | + <%= (distro_key == "openshift-telco") ? '<meta name="robots" content="noindex,nofollow">' : '' %> |
14 | 15 | <%= ((["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7"].include?(version)) && distro_key == "openshift-enterprise") ? '<meta name="googlebot" content="noindex">' : '' %>
|
15 | 16 | <title><%= [topic_title, subgroup_title].compact.join(' - ') %> | <%= group_title %> | <%= distro %> <%= version %></title>
|
16 | 17 | <link href="https://assets.openshift.net/content/subdomain.css" rel="stylesheet" type="text/css"/>
|
|
195 | 196 | <select id="version-selector" onchange="versionSelector(this);">
|
196 | 197 | <option value="1.9">1.9</option>
|
197 | 198 | <option value="1.8">1.8</option>
|
198 |
| - </select> |
| 199 | + </select> |
| 200 | + <% elsif (distro_key == "openshift-telco") %> |
| 201 | + <a href="https://docs.openshift.com/container-platform-telco/<%= version %>/welcome/index.html"> |
| 202 | + <%= distro %> |
| 203 | + </a> |
| 204 | + <select id="version-selector" onchange="versionSelector(this);"> |
| 205 | + <option value="4.14">4.14</option> |
| 206 | + </select> |
199 | 207 | <% elsif (distro_key == "openshift-origin") %>
|
200 | 208 | <a href="https://docs.okd.io/<%= version %>/welcome/index.html">
|
201 | 209 | <%= distro %>
|
|
234 | 242 | ((distro_key == "openshift-enterprise") ? "enterprise-#{version}"
|
235 | 243 | : (distro_key == "openshift-aro") ? "aro-work"
|
236 | 244 | : (distro_key=="openshift-dedicated" ) ? "dedicated-4"
|
| 245 | + : (distro_key == "openshift-telco") ? "enterprise-#{version}" |
237 | 246 | : "main" ) %>/<%= repo_path %>"><span class="material-icons-outlined" title="Page history">history</span></a>
|
238 | 247 | <%
|
239 | 248 | unless (unsupported_versions.include? version)
|
|
245 | 254 | : (distro_key=="openshift-aro" ) ? "[aro-#{version}]+Issue+in+file+#{repo_path}"
|
246 | 255 | : (distro_key=="openshift-online" ) ? "[online-#{version}]+Issue+in+file+#{repo_path}"
|
247 | 256 | : (distro_key=="openshift-rosa" ) ? "[rosa-#{version}]+Issue+in+file+#{repo_path}"
|
| 257 | + : (distro_key=="openshift-telco" ) ? "[enterprise-#{version}]+Issue+in+file+#{repo_path}" |
248 | 258 | : "Issue+in+file+#{repo_path}" ) %>">
|
249 | 259 | <span class="material-icons-outlined" title="Open an issue">bug_report</span>
|
250 | 260 | </a>
|
|
307 | 317 | </a>
|
308 | 318 | <% end %>
|
309 | 319 | </span>
|
310 |
| - <% end %> |
| 320 | + <% end %> |
311 | 321 | </ol>
|
312 | 322 | <div class="row row-offcanvas row-offcanvas-left">
|
313 | 323 | <div class="col-xs-8 col-sm-3 col-md-3 sidebar sidebar-offcanvas hide-for-print">
|
|
384 | 394 | 'openshift-dedicated': ['docs_dedicated_v4'],
|
385 | 395 | 'openshift-online': ['docs_online', version],
|
386 | 396 | 'openshift-enterprise': ['docs_cp', version],
|
| 397 | + 'openshift-telco': ['docs_telco', version], |
387 | 398 | 'openshift-aro' : ['docs_aro', version],
|
388 | 399 | 'openshift-rosa' : ['docs_rosa'],
|
389 | 400 | 'openshift-acs' : ['docs_acs', version],
|
|
0 commit comments