from .tool.func import * async def list_recent_discuss(num = 1, tool = 'normal'): m_sub = 0 if tool == 'close': m_sub = '(' + await get_lang('close_discussion') + ')' elif tool == 'open': m_sub = '(' + await get_lang('open_discussion') + ')' return await render_template( await get_lang('recent_discussion'), '' + \ '
' + \ '' + \ '' + \ '', m_sub, [['other', await get_lang('return')]] )