source: iPeer/app/views/elements/evaluations/summary_info.ctp @ 6602514

3.1.xdevhotfixpagodaboxticket463
Last change on this file since 6602514 was 6602514, checked in by Compass <pan.luo@…>, 6 years ago

Change the styles for evaluation result pages

  • Property mode set to 100644
File size: 1007 bytes
Line 
1<h3><?php __('Summary')?>
2 :(<?php echo $this->Html->link(__('Basic', true), "/evaluations/viewEvaluationResults/".$event['Event']['id']."/".$event['Group']['id']."/Basic")?> |
3    <?php echo $html->link(__('Detail', true), "/evaluations/viewEvaluationResults/".$event['Event']['id']."/".$event['Group']['id']."/Detail")?> )</h3>
4
5<!-- Users who haven't done the evaluation yet table -->
6<table class="standardtable">
7<?php
8if (!$allMembersCompleted) {
9    echo $html -> tableHeaders(array(__('These people have not yet submitted their evaluations', true)), null, array('class' => 'red'));
10    $incompletedMembersArr = array();
11    $users = array();
12    foreach ($inCompletedMembers as $row) {
13        $user = $row['User'];
14        array_push($incompletedMembersArr, $user['first_name'] . " " . $user['last_name']);
15        $users[] = array($user['first_name'] . " " . $user['last_name'] . ($row['Role']['role_id'] == 4 ? ' (TA)' : ' (student)'));
16    }
17    echo $html -> tableCells($users);
18}
19?>
20</table>
21
Note: See TracBrowser for help on using the repository browser.