redirect to setOfflineCause
@@ -24,6 +24,10 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
+ <j:if test="${it.temporarilyOffline}">
+ <st:redirect url="setOfflineCause"/>
+ </j:if>
+
<l:layout title="${%title(it.displayName)}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
