43
43
<% end %>
44
44
45
45
<% if ( ( unsupported_versions . include? version ) && ( distro_key == "openshift-enterprise" ) ) %>
46
-
46
+
47
47
< span >
48
48
< div class ="alert alert-danger " role ="alert " id ="support-alert ">
49
49
< 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 > .
50
50
</ div >
51
51
</ span >
52
-
52
+
53
53
<% end %>
54
54
55
55
< li class ="sitename ">
102
102
</ li >
103
103
<% if ( distro_key != "openshift-origin" && distro_key != "openshift-aro" ) %>
104
104
< 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" %> /
106
106
<%= repo_path %> ">
107
107
Page history
108
108
</ a >
109
109
<%
110
110
unless ( unsupported_versions . include? version )
111
111
%>
112
112
/
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 } " ) %> ">
114
114
Open an issue
115
115
</ a >
116
116
<% if ( version == "4.5" ) %>
264
264
adjustMain ( ) ;
265
265
} else if ( window . innerWidth < 1425 ) {
266
266
sidebar . style . display = 'none' ;
267
- document . querySelector ( '.main' ) . style . paddingTop = '0px' ;
267
+ document . querySelector ( '.main' ) . style . paddingTop = '0px' ;
268
268
}
269
269
} ) ;
270
270
271
271
function adjustSide ( ) {
272
272
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" ;
274
274
}
275
275
276
276
function adjustToc ( ) {
277
277
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
+ }
280
280
}
281
281
282
282
function adjustMain ( ) {
283
283
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" ;
285
285
}
286
286
287
287
</ script >
412
412
413
413
</ body >
414
414
415
- </ html >
415
+ </ html >
0 commit comments