Skip to content

Commit b8918ae

Browse files
Merge pull request #38479 from vikram-redhat/fixpagetemplate
[skip netlify] fixed template paths
2 parents 5e5aa6d + d30f583 commit b8918ae

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

_templates/_page_openshift.html.erb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
<% end %>
4444

4545
<% if ((unsupported_versions.include? version) && (distro_key == "openshift-enterprise")) %>
46-
46+
4747
<span>
4848
<div class="alert alert-danger" role="alert" id="support-alert">
4949
<strong>You are viewing documentation for a release that is no longer supported.</strong> The latest supported version of version 3 is <a href="https://docs.openshift.com/container-platform/3.11/welcome/index.html" class="link-primary" style="color: #545454 !important;">[3.11]</a>. For the most recent version 4, see <a href="https://docs.openshift.com/container-platform/latest/welcome/index.html" style="color: #545454 !important" class="link-primary">[4]</a>.
5050
</div>
5151
</span>
52-
52+
5353
<% end %>
5454

5555
<li class="sitename">
@@ -102,15 +102,15 @@
102102
</li>
103103
<% if (distro_key != "openshift-origin" && distro_key != "openshift-aro") %>
104104
<span text-align="right" style="float: right !important">
105-
<a href="https://github.com/openshift/openshift-docs/commits/<%= (distro_key == " openshift-enterprise") ? "enterprise-#{version}" : "dedicated-4" %>/
105+
<a href="https://github.com/openshift/openshift-docs/commits/<%= (distro_key == "openshift-enterprise") ? "enterprise-#{version}" : "dedicated-4" %>/
106106
<%= repo_path %>">
107107
Page history
108108
</a>
109109
<%
110110
unless (unsupported_versions.include? version)
111111
%>
112112
/
113-
<a href="https://github.com/openshift/openshift-docs/issues/new?title=<%= (distro_key == " openshift-enterprise") ? "[enterprise-#{version}] Issue in file #{repo_path}" : ((distro_key=="openshift-dedicated" ) ? "[dedicated] Issue in file #{repo_path}" : "[online] Issue in file #{repo_path}" ) %>">
113+
<a href="https://github.com/openshift/openshift-docs/issues/new?title=<%= (distro_key == "openshift-enterprise") ? "[enterprise-#{version}] Issue in file #{repo_path}" : ((distro_key=="openshift-dedicated" ) ? "[dedicated] Issue in file #{repo_path}" : "[online] Issue in file #{repo_path}" ) %>">
114114
Open an issue
115115
</a>
116116
<% if (version == "4.5") %>
@@ -264,24 +264,24 @@
264264
adjustMain();
265265
} else if (window.innerWidth < 1425) {
266266
sidebar.style.display = 'none';
267-
document.querySelector('.main').style.paddingTop = '0px';
267+
document.querySelector('.main').style.paddingTop = '0px';
268268
}
269269
});
270270

271271
function adjustSide() {
272272
document.querySelector('.sidebar').style.top = parseInt((document.querySelector('.breadcrumb').offsetHeight + 125), 10) + "px";
273-
document.querySelector('#hc-search').style.top = parseInt((document.querySelector('.breadcrumb').offsetHeight + 95), 10) + "px";
273+
document.querySelector('#hc-search').style.top = parseInt((document.querySelector('.breadcrumb').offsetHeight + 95), 10) + "px";
274274
}
275275

276276
function adjustToc() {
277277
if (document.querySelector('#toc') !== null) {
278-
document.querySelector('#toc').style.top = parseInt((document.querySelector('.breadcrumb').offsetHeight + 90), 10) + "px";
279-
}
278+
document.querySelector('#toc').style.top = parseInt((document.querySelector('.breadcrumb').offsetHeight + 90), 10) + "px";
279+
}
280280
}
281281

282282
function adjustMain() {
283283
document.querySelector('html').style.scrollPaddingTop = parseInt((document.querySelector('.breadcrumb').offsetHeight + 90), 10) + "px";
284-
document.querySelector('.main').style.paddingTop = parseInt((document.querySelector('.breadcrumb').offsetHeight - 70), 10) + "px";
284+
document.querySelector('.main').style.paddingTop = parseInt((document.querySelector('.breadcrumb').offsetHeight - 70), 10) + "px";
285285
}
286286

287287
</script>
@@ -412,4 +412,4 @@
412412

413413
</body>
414414

415-
</html>
415+
</html>

0 commit comments

Comments
 (0)