Ticket #1921: master.html.diff
| File master.html.diff, 0.8 kB (added by cd34, 2 years ago) |
|---|
-
templates/master.html
old new 7 7 <?python 8 8 import tg 9 9 tg_flash = tg.get_flash() 10 tg_status = tg.get_status() 10 11 ?> 11 12 <head py:match="head" py:attrs="select('@*')"> 12 13 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> … … 18 19 <body py:match="body" py:attrs="select('@*')"> 19 20 ${header()} 20 21 <div id="main_content"> 21 <div id="status_block" py:if="tg_flash" class="flash" py:content="tg_flash"></div> 22 <div id="${tg_status}" py:if="tg_flash" class="flash" py:content="tg_flash"></div> 23 22 24 <div py:replace="select('*|text()')"/> 23 25 <!-- End of main_content --> 24 26 <div class="clearingdiv" />