diff options
Diffstat (limited to 'cgi/templates/board.jp.html')
-rw-r--r-- | cgi/templates/board.jp.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index f463dee..06a9391 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -238,9 +238,9 @@ <div style="color:red;font-weight:bold">このスレは古いので、もうすぐ消えます。</div> <?py #endif ?> <?py #endif ?> - <?py if int(post['parentid']) == 0: ?> + <?py if not post['parentid']: ?> <?py if not replythread: ?> - <?py if int(thread['omitted']) > 0: ?> + <?py if thread['omitted']: ?> <span class="omitted">レス${thread['omitted']}件省略。全て読むには返信ボタンを押してください。</span> <?py #endif ?> <?py #endif ?> @@ -266,4 +266,4 @@ <?py if pagenav: ?> <div class="pg">#{pagenav}</div> <?py #endif ?> -<?py include('templates/base_bottom.html') ?>
\ No newline at end of file +<?py include('templates/base_bottom.html') ?> |