[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>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="block">
|
||||
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">»</a></h3>
|
||||
<?php if ($currentContent): ?>
|
||||
<div class="block">
|
||||
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">»</a></h3>
|
||||
|
||||
<div id="content" style="display: none">
|
||||
<?php echo $currentContent ?>
|
||||
<div id="content" style="display: none">
|
||||
<?php echo $currentContent ?>
|
||||
</div>
|
||||
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user