Explorar o código

해당 열의 제목이 "토론 제목"이므로 괄호안에 토론 주제 대신 문서명으로..

gnote8-0 %!s(int64=6) %!d(string=hai) anos
pai
achega
8f5e43e6d8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      route/recent_discuss.py

+ 2 - 2
route/recent_discuss.py

@@ -40,7 +40,7 @@ def recent_discuss_2(conn):
         title = html.escape(data[0])
         sub = html.escape(data[1])
 
-        div += '<tr><td><a href="/thread/' + get_code + '">' + title + '</a> (' + sub + ')</td><td>' + data[2] + '</td></tr>'
+        div += '<tr><td><a href="/thread/' + get_code + '">' + sub + '</a> (' + title + ')</td><td>' + data[2] + '</td></tr>'
 
     div += '</tbody></table>'
 
@@ -48,4 +48,4 @@ def recent_discuss_2(conn):
         imp = [load_lang('recent_discussion'), wiki_set(), custom(), other2([m_sub, 0])],
         data = div,
         menu = 0
-    ))
+    ))