aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_board.html
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-18 23:06:56 -0300
committerLibravatar Choom 2023-01-19 02:25:20 -0300
commit6f6263415be7d893e332d6e6c3404c453304e9e4 (patch)
tree00ea455883c674cc90525b4349f1c95ea5d9264d /cgi/templates/txt_board.html
parent542e8d1452130079ae47f7a56328f8421e56f5ab (diff)
downloadweabot-6f6263415be7d893e332d6e6c3404c453304e9e4.tar.gz
weabot-6f6263415be7d893e332d6e6c3404c453304e9e4.tar.xz
weabot-6f6263415be7d893e332d6e6c3404c453304e9e4.zip
Separando ID de timestamp
Diffstat (limited to 'cgi/templates/txt_board.html')
-rw-r--r--cgi/templates/txt_board.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html
index 4e8d820..0d386f1 100644
--- a/cgi/templates/txt_board.html
+++ b/cgi/templates/txt_board.html
@@ -70,7 +70,12 @@
<?py else: ?>
<span class="name"><b>#{post['name']}</b></span>
<?py #endif ?>
- <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span></h4>
+ <?py #endif ?>
+ : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span>
+ <?py if post['posterid']: ?>
+ <span class="hash">ID:#{post['posterid']}</span>
+ <?py #endif ?>
+ </h4>
<?py if post['file']: ?>
<a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb">
<img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" />