summaryrefslogtreecommitdiff
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/study/batch.php2
-rw-r--r--tpl/study/list.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/tpl/study/batch.php b/tpl/study/batch.php
index 842deaa..6eaa99c 100644
--- a/tpl/study/batch.php
+++ b/tpl/study/batch.php
@@ -11,7 +11,7 @@ $onload_js = 'show_batch_table();';
require("tpl/general/top.php");
-echo '<div class="small_right"><a href="batchreview-study-' . $info['batchid'] . '">test now</a></div>';
+echo '<div class="small_right"><a href="batchreview-study-' . $info['batchid'] . '">test now</a> | <a href="list-study-' . $info['studyid'] . '#batch_' . $info['batchid'] . '">back</a></div>';
echo '<h2>Items in this list</h2>';
echo '<div id="items">Please wait, processing...</div>';
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>';