Skip to content

Commit

Permalink
[FrameworkBundle] added a condition to only show current content when…
Browse files Browse the repository at this point in the history
… it is not empty in the exception template
  • Loading branch information
fabpot committed Sep 1, 2010
1 parent 8bdb9c1 commit 85f823f
Showing 1 changed file with 9 additions and 7 deletions.
Expand Up @@ -49,13 +49,15 @@
</div>
<?php endif; ?>

<div class="block">
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">&raquo;</a></h3>
<?php if ($currentContent): ?>
<div class="block">
<h3>Content of the Output <a href="#" onclick="toggle('content'); return false;">&raquo;</a></h3>

<div id="content" style="display: none">
<?php echo $currentContent ?>
</div>
<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>

0 comments on commit 85f823f

Please sign in to comment.