set solved-status for all Questgroups and add CSS-class
This commit is contained in:
parent
0bf5253fc4
commit
3d1e6b792e
2 changed files with 10 additions and 2 deletions
|
|
@ -25,7 +25,13 @@
|
|||
<ul class="qg">
|
||||
<?php foreach($hierarchy['questgroups'] as &$group) : ?>
|
||||
<li class="cf">
|
||||
<span class="qgicon"><i class="fa fa-check-square-o"></i></span>
|
||||
<span class="qgicon">
|
||||
<?php if($group['solved']) : ?>
|
||||
<i class="fa fa-check-square-o"></i>
|
||||
<?php else : ?>
|
||||
<i class="fa fa-square-o"></i>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
<div class="qgtitle"><a href="<?=$linker->link(array('questgroups','questgroup',$seminary['url'],$group['url']))?>"><?=$group['title']?></a></div>
|
||||
<div class="qgprogress cf">
|
||||
<p class="xpinfo">Fortschritt:</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue