diff options
Diffstat (limited to 'tpl/study/list.php')
-rw-r--r-- | tpl/study/list.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/study/list.php b/tpl/study/list.php index 3bb16dd..265d8a7 100644 --- a/tpl/study/list.php +++ b/tpl/study/list.php @@ -39,14 +39,14 @@ foreach ($batches as $batch) { $dc = ($batch['lr_date'] ? ' style="background-color: ' . $days_color .'"' : ''); echo '<tr>'; - echo '<td><code>' . $batch['name'] . '</code></td>'; + echo '<td><a id="batch_' . $batch['id'] . '"></a><code>' . $batch['name'] . '</code></td>'; echo '<td><a href="batch-study-' . $batch['id'] . '">view</a> | <a href="batchreview-study-' . $batch['id'] . '">test</a></td>'; echo '<td>' . $batch['num_reviews'] . '</td>'; echo '<td'.$dc.'>' . ($batch['lr_date'] ? $batch['lr_date'] : "never") . '</td>'; echo '<td'.$color.'>' . ($batch['lr_date'] ? $batch['lr_score'] . '/100' : 'N/A') . - ($batch['blr_date'] ? ($batch['lr_score'] > $batch['blr_score'] ? '<span style="color: green"> ⬈</span>' : - ($batch['lr_score'] < $batch['blr_score'] ? '<span style="color: orange;"> ⬊</span>' : - '<span style="color: grey"> ➡</span>')) : '') . '</td>'; + ($batch['blr_date'] ? ($batch['lr_score'] > $batch['blr_score'] ? '<span style="color: green"> ➚</span>' : + ($batch['lr_score'] < $batch['blr_score'] ? '<span style="color: orange;"> ➘</span>' : + '<span style="color: grey"> ➙</span>')) : '') . '</td>'; echo '</tr>'; } echo '</table>'; |