Skip to content

Commit

Permalink
guard everything with if mode=side-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinter69 committed Aug 18, 2023
1 parent 5cf4146 commit 901be04
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions core/src/main/resources/lib/layout/side-panel.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ THE SOFTWARE.

</st:documentation>

<div id="side-panel" class="app-page-body__sidebar ${attrs.sticky == 'true' ? 'app-page-body__sidebar--sticky' : ''}">
<j:if test="${mode=='side-panel'}">
<j:if test="${mode=='side-panel'}">
<div id="side-panel" class="app-page-body__sidebar ${attrs.sticky == 'true' ? 'app-page-body__sidebar--sticky' : ''}">
<d:invokeBody />
</j:if>
<!-- add YUI logger if debugging YUI -->
<j:if test="${h.yuiSuffix=='debug'}">
<!-- script to transform this into the Logger Console is done in hudson-behavior.js -->
<div id="yui-logreader" style="margin-top:1em"/>
</j:if>
</div>

</j:jelly>
<!-- add YUI logger if debugging YUI -->
<j:if test="${h.yuiSuffix=='debug'}">
<!-- script to transform this into the Logger Console is done in hudson-behavior.js -->
<div id="yui-logreader" style="margin-top:1em"/>
</j:if>
</div>
</j:if>

</j:jelly>

0 comments on commit 901be04

Please sign in to comment.