[FrameworkBundle] added a condition to only show current content when it is not empty in the exception template
This commit is contained in:
parent
8bdb9c142c
commit
85f823fc08
@ -49,13 +49,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="block">
|
<?php if ($currentContent): ?>
|
||||||
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">»</a></h3>
|
<div class="block">
|
||||||
|
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">»</a></h3>
|
||||||
|
|
||||||
<div id="content" style="display: none">
|
<div id="content" style="display: none">
|
||||||
<?php echo $currentContent ?>
|
<?php echo $currentContent ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="clear: both"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
<div style="clear: both"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user