do not show scrollbox for Questgroups if there is no text to display
This commit is contained in:
parent
3d1e6b792e
commit
2d1dc3df82
1 changed files with 2 additions and 0 deletions
|
|
@ -12,11 +12,13 @@
|
|||
<?php else : ?>
|
||||
<h2><?=$questgroup['title']?></h2>
|
||||
<?php endif ?>
|
||||
<?php if(count($texts) > 0): ?>
|
||||
<div id="qtextbox">
|
||||
<?php foreach($texts as &$text) : ?>
|
||||
<p><?=\hhu\z\Utils::t($text['text'])?></p>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if(!is_null($childquestgroupshierarchy)) : ?>
|
||||
<?php foreach($childquestgroupshierarchy as &$hierarchy) : ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue