From 7d31509782c87713e30cc7a400b9b9ee6f7eb0ff Mon Sep 17 00:00:00 2001 From: Choom Date: Sun, 11 Dec 2022 01:49:21 -0300 Subject: Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas Agregando div a respuestas --- cgi/template.py | 2 +- cgi/templates/txt_board.en.html | 81 ++++++++++++++++++----------- cgi/templates/txt_board.html | 48 ++++++++++++----- cgi/templates/txt_thread.en.html | 108 --------------------------------------- cgi/templates/txt_thread.html | 6 ++- 5 files changed, 93 insertions(+), 152 deletions(-) delete mode 100644 cgi/templates/txt_thread.en.html (limited to 'cgi') diff --git a/cgi/template.py b/cgi/template.py index 8c3fc19..62f62a9 100644 --- a/cgi/template.py +++ b/cgi/template.py @@ -46,7 +46,7 @@ def renderTemplate(template, template_values={}, mobile=False, noindex=False): # if board: if template in ["board.html", "threadlist.html", "catalog.html", "kako.html", "paint.html"] or template[0:3] == "txt": # TODO HACK - if board['dir'] == 'world' and not mobile and (template == 'txt_board.html' or template == 'txt_thread.html'): + if board['dir'] == 'world' and not mobile and (template == 'txt_board.html'): template = template[:-4] + 'en.html' elif board['dir'] == '2d' and template == 'board.html' and not mobile: template = template[:-4] + 'jp.html' diff --git a/cgi/templates/txt_board.en.html b/cgi/templates/txt_board.en.html index 8c94361..7f280b4 100644 --- a/cgi/templates/txt_board.en.html +++ b/cgi/templates/txt_board.en.html @@ -6,17 +6,18 @@