From: Johannes Berg Date: Sat, 24 May 2008 23:58:05 +0000 (+0200) Subject: move country comments after table in web viewer X-Git-Tag: v0.9~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a68889b3378485aba42c2499d2e2a68a4b616db;p=platform%2Fupstream%2Fcrda.git move country comments after table in web viewer --- diff --git a/web/Regulatory.py b/web/Regulatory.py index 91105fb..dcdabc0 100644 --- a/web/Regulatory.py +++ b/web/Regulatory.py @@ -32,14 +32,6 @@ def _country(macro, countries, code): except: result.append(f.text('No information available')) return ''.join(result) - - - if country.comments: - result.extend([ - f.preformatted(1), - f.text('\n'.join(country.comments)), - f.preformatted(0), - ]) result.append(f.table(1)) result.extend([ @@ -118,6 +110,13 @@ def _country(macro, countries, code): result.append(f.table(0)) + if country.comments: + result.extend([ + f.preformatted(1), + f.text('\n'.join(country.comments)), + f.preformatted(0), + ]) + result.append(f.linebreak(0)) result.append(f.linebreak(0)) result.append(macro.request.page.link_to(macro.request, 'return to country list'))