* Code for task #7640.

This commit is contained in:
Yagami
2020-08-24 10:53:59 +08:00
parent ec46bb7bcc
commit b12aef4e0f
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -809,6 +809,7 @@ class block extends control
}
$this->view->programs = $programs;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
}
/**
@@ -110,6 +110,7 @@ $(function()
<?php foreach($programs as $program):?>
<div class="tab-pane fade<?php if($program->id == $selected) echo ' active in';?>" id="tab3Content<?php echo $program->id;?>">
<div class="table-row">
<?php if($program->template == 'scrum'):?>
<div class="col-5 text-middle text-center">
<div class="progress-pie inline-block space" data-value="<?php echo $program->progress;?>" data-doughnut-size="84">
<canvas width="120" height="120"></canvas>
@@ -161,6 +162,8 @@ $(function()
<?php endforeach;?>
</div>
</div>
<?php else:?>
<?php endif;?>
</div>
</div>
<?php endforeach;?>